Tai Dao
Tai Dao

Reputation: 3437

Move image using thread

I'm making an example that an image can moving from left to right using thread. If user touch that image, thread pause for 3 second then continue moving.
I've known about TranslateAnimation animation but on my example can't use this.
I don't have much experience with thread. Which type of thread that I should use for this case. It's awsome if has an example.

Upvotes: 1

Views: 248

Answers (1)

pskink
pskink

Reputation: 24720

you should not use any Thread at all, what you should use instead is a Handler and a Message/Runnable

Upvotes: 1

Related Questions