felipecsl / AsymmetricGridView

Android ListView that mimics a GridView with asymmetric items. Supports items with row span and column span
http://felipecsl.com/AsymmetricGridView
MIT License
1.84k stars 431 forks source link

Scroll programmatically to specific position #61

Open MauroAlexandro opened 7 years ago

MauroAlexandro commented 7 years ago

Hi,

I want to scroll programmatically to a previous position. I enter the app and then enter in one item on the end of the list. When I go back to the grid I want it to be positioned on the last position.

How can I do that?

Thanks in advance,

krishnapatel086 commented 6 years ago

i need the same if anyone hv answer plz let me knows thnks in advance. @MauroAlexandro hv you get the answer?

takhirovich commented 6 years ago

Did someone solve this problem? if yes help please. Thanks in advance @MauroAlexandro @krishnapatel086

takhirovich commented 6 years ago

not best way. But, try this method, it is work for me new Handler().postDelayed(new Runnable() { @Override public void run() { recyclerView.smoothScrollToPosition(mToPosition); } }, 100);