- Create a generic list.
- add all your existing items to that list
- add your new item to the end of the list
- create two types of viewtype based on instances from generic list
- create two viewholders with different layouts
- then on oncreateviewholder method decide which view holder to attach based on view type.
May be refer this answer: https://stackoverflow.com/a/46454246/2404063
CLICK HERE to find out more related problems solutions.