I have been trying to find information about creating advanced RecyclerView adapters.
I need two versions of adapters for my application.
- The first one is similar to the Google Keep checklist. When you are adding a new item to the list, it adds a new cell at the end of the list.
ex: create a product list or wishlist.
I can already create an adapter with a multiple ViewTypes, but I can't find a solution to my problem (adding a new cell when adding a new item to the list)
- second one is I need to have a list with multiple types of layouts. ex: Notes, Birthdays, Important, etc. with I separators in between them. And when I delete all Birthdays from the list. How can I delete Birthday separator?