android - ViewFlipper vs AdapterViewFlipper -
could explain practical differences between viewflipper , adapterviewflipper. including when utilize 1 , not other.
i have been using viewflipper months in custom cursor adapter , origin think used wrong approach albeit works.
with viewflipper, typically declare children front, , there no recycling concept.
with adapterviewflipper, utilize adapter, listview, spinner, etc., children determined on fly , views representing children can recycled.
for small, static content, viewflipper simpler. also, adapterviewflipper added in api level 11 (iirc) , hence not work on older versions on android.
android
No comments:
Post a Comment