Name Description Size Coverage
CollectionCreationBottomBarView.kt Updates views in [R.id.bottom_button_bar_layout] for collection creation. 3913 -
CollectionCreationController.kt See [CollectionCreationInteractor.onBackPressed] 6543 -
CollectionCreationFragment.kt 4149 -
CollectionCreationInteractor.kt Called when either the physical back button, or the back arrow are clicked. Note that this is not called when the close button on the snackbar is clicked. See [close]. 3057 -
CollectionCreationStore.kt Represents the current purpose of the screen. This determines what options are shown to the user. TODO refactor [CollectionCreationState] into a sealed class with four implementations, each replacing a [SaveCollectionStep] value. These will not need null / emptyCollection default values. Handle changes between these state changes internally, here and in the controller, instead of exposing [StepChanged], which currently acts as a setter. 5065 -
CollectionCreationTabListAdapter.kt Method used to change the tabSelectedCheckbox state @param checkChanged [CheckChanged] class containing the required checkbox updates 4342 -
CollectionCreationView.kt 11012 -
CollectionsDialog.kt A lambda that is invoked when a confirmation button in a [CollectionsDialog] is clicked. The [TabCollection] ID of the selected collection is passed to the delegate when confirmed. If the selected collection was newly created then [Boolean] is set to true. 6117 -
CollectionsListAdapter.kt An adapter for displaying an option to create a new collection and the list of existing collections. 3473 -
SaveCollectionListAdapter.kt Adapter for a list of collections. @param onCollectionClickedListener Invoked when a collection is clicked. 2587 -
Tab.kt 457 -
TabDiffUtil.kt Diff callback for comparing tab lists with selected state. 2251 -