Does bitmap of an image remains constant throughout the lifecycle of the android application? -


okay might silly question ask. bitmap of image remains constant traversing through different activities in android.

well issue : have activity image view having default image. previewing image picked gallery if user wants it.

so move on next activity displaying image user picked gallery. if user hasn't picked image want show default image.

please note not 1st default image in 2nd activity.

if bitmap remains in drawables folder, can access every activity , remain "constant" (if that's meant). if you're using bitmap in code (to set background of imageview), can changed - othwerise if in drawables - it's usable, can manipulate it, never change basic status (in folder).


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -