This Handler class should be static or leaks might occur (com.test.test3.ui.MainActivity.1)
问题 I am new to android and i try to develop a system but when i finish code the handler show this warning below show the code after I edit, the handler in event ontounch show the warning handler cannot be resolved. I try putting // to ignore the handler at i try run the application and its result in force close. public class MainActivity extends Activity { protected static final int STOP = 100; ImageView iv; private ProgressBar pb; LinearLayout ll; private AnimationDrawable anim; ScrollView sv;