add dynamic spanCount for library/search fragemnt and MediaFragmentSimilar #68

Merged
Seil0 merged 3 commits from feature/dynamic_span_count into develop 2022-12-04 15:24:19 +01:00

3 Commits

Author SHA1 Message Date
Jannik ed8f3fdcda
set spanCount according to screen width 2022-12-04 14:48:25 +01:00
Jannik fffbeaeb49
make MediaItem width fully dynamic, based on the parents width (50% of parent width) and update SearchFragment to use MediaItemListAdapter and remove now unused MediaItemAdapter 2022-12-04 13:51:29 +01:00
Jannik 21caa8eb1b
update MediaItem to suport dynamic size
* this is needed for dynamic span count to correctly work
* this also fixes issues with poster image cropping when the MediaItem size was < 195dp
2022-12-03 00:05:57 +01:00