|
|
|
|
@ -42,7 +42,7 @@ class ReportCreationFragment : RealmFragment(), RowRepresentableDataSource, RowR |
|
|
|
|
|
|
|
|
|
// Life Cycle |
|
|
|
|
|
|
|
|
|
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? { |
|
|
|
|
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View { |
|
|
|
|
super.onCreateView(inflater, container, savedInstanceState) |
|
|
|
|
_binding = FragmentReportCreationBinding.inflate(inflater, container, false) |
|
|
|
|
return binding.root |
|
|
|
|
@ -168,11 +168,11 @@ class ReportCreationFragment : RealmFragment(), RowRepresentableDataSource, RowR |
|
|
|
|
|
|
|
|
|
// RowRepresentableDataSource |
|
|
|
|
|
|
|
|
|
override fun adapterRows(): List<RowRepresentable>? { |
|
|
|
|
override fun adapterRows(): List<RowRepresentable> { |
|
|
|
|
return this.currentRows |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
override fun rowRepresentableForPosition(position: Int): RowRepresentable? { |
|
|
|
|
override fun rowRepresentableForPosition(position: Int): RowRepresentable { |
|
|
|
|
return this.currentRows[position] |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|