harshit9953 / android-wheel

Automatically exported from code.google.com/p/android-wheel
0 stars 0 forks source link

Handler class should be static or leaks might occur (Android Lint) #40

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open project with Android Wheel
2. Run Android Lint for the project

Lint now recommends to have Handler static, according to link below, it's not 
such fatal issue when not using long-delayed Messages posted in queue to 
Handler, but it's still design fault.

Could you please write a subclass for Handler, and fix this issue?

Link (1) : 
http://stackoverflow.com/questions/11407943/this-handler-class-should-be-static-
or-leaks-might-occur-incominghandler
Link (2) : 
http://stackoverflow.com/questions/11278875/handlers-and-memory-leaks-in-android

Original issue reported on code.google.com by Marek.Se...@gmail.com on 3 Sep 2012 at 8:55