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.