Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 1.46 KB

README.md

File metadata and controls

47 lines (37 loc) · 1.46 KB

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.