Add this on your adapter class
@Override
public long getItemId(int position) {
return position;
}
And call constructor like this :-
public IntroductionAdapter(Context context, List<Introduction> introductionList) {
this.context = context;
this.introductionList = introductionList;
setHasStableIds(true);
}
Not sure about this. But you can try adding this two things in your adapter:
@Override
public long getItemId(int position) {
return position;
}
And change your constructor like this:
public IntroductionAdapter(Context context, List<Introduction> introductionList) {
this.context = context;
this.introductionList = introductionList;
setHasStableIds(true);
}