Android activity static variables across different applications -
i'm creating library project implements subclass of activity, reusing in different applications. when set static variables activity in 1 application, have effect in other apps using same class?
when set static variables activity in 1 application, have effect in other apps using same class?
no, different applications different processes. know under conditions android may kill process , restart activities later? in case static variables lose values. (i think know when turn screen (as in other cases), activity destroyed , re-created.)
android
No comments:
Post a Comment