|
|
|
@ -85,7 +85,10 @@ class FeedFragment : PokerAnalyticsFragment(), RowRepresentableDelegate { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
override fun onRowSelected(position: Int, row: RowRepresentable, fromAction: Boolean) { |
|
|
|
override fun onRowSelected(position: Int, row: RowRepresentable, fromAction: Boolean) { |
|
|
|
SessionActivity.newInstance(requireContext(), sessionId = (row as Editable).id) |
|
|
|
when(row) { |
|
|
|
|
|
|
|
is Session -> SessionActivity.newInstance(requireContext(), sessionId = (row as Editable).id) |
|
|
|
|
|
|
|
is Transaction -> EditableDataActivity.newInstance(requireContext(), LiveData.TRANSACTION.ordinal, row.id) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
|