You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi ,
I have to show a list of grouped items using groupie.
The user can choose the way the items are been showed on screen: list layout or grid layout.
@Zhuinden I thought to recreate the model view every time the user clicks on switch button, but it is soo expensive. I'm hoping is there a different way
Hi ,
I have to show a list of grouped items using groupie.
The user can choose the way the items are been showed on screen: list layout or grid layout.
In the past I have done it setting dinamiically the span count of a gridviewlayout.
When the span count was 1 I returned the view type of a list element, when was > 1 I returned the view type for a grid view.
( something like this https://medium.com/xorum-io/android-recyclerview-animated-transition-between-grid-and-list-layouts-b2309e1d9f19 )
In groupie I don't know how to do that.
The text was updated successfully, but these errors were encountered: