質問

I am working with heterogeneous grid-view, i want to implement view recycling in it. I have developed the UI but when i tried to recycle the views reference by removing the views from out of the visible screen and use them for data binding. But, then due to removing the views all existing views shift upwards.

PS: Thanks for your attention.

役に立ちましたか?

解決

You may want to try this library below. It is taken from experimental Android code and it is good.

https://github.com/maurycyw/StaggeredGridView Demo Link: https://github.com/maurycyw/StaggeredGridViewDemo

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top