Skip to content

santimattius/android-cinematime

Repository files navigation

Cinematime

Implementing clean architecture in android and using some of the new ConcatAdapter:

App Capture

ConcatAdapter

Documentation

    private val moviesAdapter: MovieAdapter by lazy {
        MovieAdapter(ItemViewHolder.ItemClick {
            viewModel.onContentClicked(it)
        })
    }

    private val tvAdapter: TvAdapter by lazy {
        TvAdapter(ItemViewHolder.ItemClick {
            viewModel.onContentClicked(it)
        })
    }

    private val principalAdapter: ConcatAdapter = ConcatAdapter()
    ...
    principalAdapter.addAdapter(moviesAdapter)
    principalAdapter.addAdapter(tvAdapter)
    

Dependencies

Below you will find the libraries used to build the template and according to my criteria the most used in android development so far.