6

I would like to build a custom List (Pinterest grid layout) and I would like to extend AbsListView. Are there good examples around? It seems very very difficult.

Thanks Tobia

Matroska
  • 6,885
  • 14
  • 63
  • 99
  • I am not sure if it can be done with a `ListView` (most answers on SO suggest that actually. For example: http://stackoverflow.com/q/11736658/450534). But this just might be helpful to you: https://github.com/expilu/AntipodalWall. Again, it has absolutely nothing to do with a `ListView`. – Siddharth Lele Nov 01 '12 at 16:41
  • AntipodalWall is a ViewGroup like putting different LinearLayout...bad performance for what we need to achieve. – Matroska Nov 01 '12 at 16:48

1 Answers1

1

i've created a nice post about this and found out this is the best one.

however, do note that just like the other libraries, it has its own issues. what i've found is that when you call notifyDatasetChanged() on it, you get weird pairs of views and positions on the getView method (link here about this issue). also i've found out that it doesn't call the "onScrollChanged" method at all (link here about this issue)

even though this library is nice, i would also like to see a tutorial on extending the abdListView.

Community
  • 1
  • 1
android developer
  • 114,585
  • 152
  • 739
  • 1,270