Wishnuprathikantam
05/05/2022, 10:40 AMLazyPagingItems<Episodes>
How to use group by with LazyPagingItems? I want to implement a sticky header list here so i would need to convert this to Map<String,List<Episodes>> here. One way i can think of is using the itemSnapshot list, but not sure if it's a good practice. Any help is appreciated. Thanks. ( Something like this - items.groupBy{ it.season}, Please note: I'm writing this in Kotlin. )