|
|
|
|
@ -14,9 +14,7 @@ import net.pokeranalytics.android.ui.view.GridSpacingItemDecoration |
|
|
|
|
import net.pokeranalytics.android.ui.view.RowRepresentable |
|
|
|
|
import net.pokeranalytics.android.util.px |
|
|
|
|
|
|
|
|
|
class BottomSheetTableSizeGridFragment : BottomSheetFragment(), |
|
|
|
|
StaticRowRepresentableDataSource, |
|
|
|
|
RowRepresentableDelegate { |
|
|
|
|
class BottomSheetTableSizeGridFragment : BottomSheetFragment(), StaticRowRepresentableDataSource, RowRepresentableDelegate { |
|
|
|
|
|
|
|
|
|
private lateinit var dataAdapter: RowRepresentableAdapter |
|
|
|
|
private var defaultSize: Int? = null |
|
|
|
|
@ -53,6 +51,7 @@ class BottomSheetTableSizeGridFragment : BottomSheetFragment(), |
|
|
|
|
private fun initUI() { |
|
|
|
|
|
|
|
|
|
setAddButtonVisible(false) |
|
|
|
|
setCheckButtonVisible(false) |
|
|
|
|
|
|
|
|
|
LayoutInflater.from(requireContext()) |
|
|
|
|
.inflate(net.pokeranalytics.android.R.layout.bottom_sheet_grid, view?.bottomSheetContainer, true) |
|
|
|
|
|