Wednesday, November 7, 2012

[android-developers] Extending AdapterView: RecycleBin and view recycling

I have re-embarked on my much aligned quest to extend AdapterView to allow for a horizontal scroll implementation. I've gotten to the point of wanting to implement view recycling. The AbsListView.RecycleBin implementation makes use of the hidden method dispatchStartTemporaryDetach as well as other temporary detachment methods. This seems to provide a lot of benefit when the exact same view is reused (i.e. the detached view is still visible in the list). I was looking to see if anyone had guidance on implementing a RecycleBin without access to these methods? I've seen some rough concepts where a Queue backed by a LinkedList is used but it seems to be pretty cumbersome.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate