Add and Delete items from Recycler View Kotlin
I have an activity that contains a recycler view, in which i add and remove views, views are added from a button in the activity, and views are deleted from an individual delete button in each view.
Basic context of the activity
It show contain a list of dishes from which a user can add or delete a recipe after adding a recipe user must type a name and the app fetches the individual recipe from the api into that view from the list
Problems
when i add views it works fine but when i start...