Click here to Skip to main content
15,891,657 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
This executes in another thread:
C#
animate = true;
int limit =  width;
for (int i = 0; i < limit/10; i++)
{
    xdraw +=10;
    publishProgress();
    try{
        Thread.sleep(10);
    }catch (Exception zz){}
}
xdraw = width;
publishProgress();
animate = false;
image_loading = true;

I'm moving image using the matrix:
m.postTranslate(xdraw, height/2 - heig/2);

It works nice on pnohe, but on tablet - speed is slow and looks not stable. Please help.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900