Remove unused code
This commit is contained in:
parent
91611fcae4
commit
6472e9b6b6
1 changed files with 0 additions and 5 deletions
|
@ -159,11 +159,6 @@ class FeedFragment : BaseStateFragment<FeedState>() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Move
|
|
||||||
fun redrawContent() {
|
|
||||||
groupAdapter.notifyItemRangeChanged(0, Int.MAX_VALUE)
|
|
||||||
}
|
|
||||||
|
|
||||||
fun setupListViewMode() {
|
fun setupListViewMode() {
|
||||||
// does everything needed to setup the layouts for grid or list modes
|
// does everything needed to setup the layouts for grid or list modes
|
||||||
groupAdapter.spanCount = if (shouldUseGridLayout(context)) getGridSpanCountStreams(context) else 1
|
groupAdapter.spanCount = if (shouldUseGridLayout(context)) getGridSpanCountStreams(context) else 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue