|
|
|
|
@ -6,15 +6,14 @@ import android.view.View |
|
|
|
|
import androidx.core.view.get |
|
|
|
|
import androidx.recyclerview.widget.LinearLayoutManager |
|
|
|
|
import com.google.android.material.chip.Chip |
|
|
|
|
import io.realm.RealmResults |
|
|
|
|
import kotlinx.android.synthetic.main.bottom_sheet_game_list.* |
|
|
|
|
import kotlinx.android.synthetic.main.fragment_bottom_sheet.view.* |
|
|
|
|
import net.pokeranalytics.android.R |
|
|
|
|
import net.pokeranalytics.android.exceptions.RowRepresentableEditDescriptorException |
|
|
|
|
import net.pokeranalytics.android.model.Limit |
|
|
|
|
import net.pokeranalytics.android.ui.adapter.RowRepresentableAdapter |
|
|
|
|
import net.pokeranalytics.android.ui.view.RowRepresentable |
|
|
|
|
import net.pokeranalytics.android.ui.extensions.px |
|
|
|
|
import net.pokeranalytics.android.ui.view.RowRepresentable |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Bottom Sheet List Game Fragment |
|
|
|
|
@ -58,7 +57,7 @@ class BottomSheetListGameFragment : BottomSheetListFragment() { |
|
|
|
|
throw RowRepresentableEditDescriptorException("RowRepresentableEditDescriptor inconsistency") |
|
|
|
|
} |
|
|
|
|
this.limit = bottomSheetData[0].defaultValue as Int? |
|
|
|
|
this.realmData = bottomSheetData[1].data as RealmResults<*> |
|
|
|
|
this.realmData = bottomSheetData[1].data |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|