In the Google Play app, how is the ViewGroup showing the application top lists implemented?

前端 未结 1 1493
夕颜
夕颜 2020-12-09 22:43

The Google Play application presents the top lists of different categories in a GridView-like way (screenshot). I\'m pretty sure that it\'s not a standard GridView, since wh

相关标签:
1条回答
  • 2020-12-09 22:45

    To answer my own question:

    I disassembled the Google Play app and found that they're using simple ListView here, with a BucketListAdapter. This adapter presents the list-elements in a GridView-like way, splitting them to columns. This way they could also use list footers and headers.

    I've rolled my own implementation of this, if anyone's interested, it can be found here: https://github.com/rzsombor/bucket-list-adapter. It's still working in progress stuff however.

    0 讨论(0)
提交回复
热议问题