I am making a list with RecyclerView, let's call it VariationList. VariationList will contains items (VariationsItem). VariationsItems will contain a title, and a RecyclerView (VariationsItemsList).
If I click on an item of VariationsItemsList, I want the following VariationsItem to refresh, and eventually add or delete some of their items.
Is there any solution to refresh a specific item from the Adapter ? Or do I need to delete all items, then add them after modification ?
I know it is pretty confusing, so here is an example of my model :
In red, this is the list of green items. Each green item contains a title, and a blue list.
For example, if I click on "Petit", I want to refresh the "Test" list. If I click on "Vert", I want to refresh the "Taille" list and the "Test" list, to eventually add some items, or delete some.