SyntaxFix
Write A Post
Hire A Developer
Questions
First add your item to mItems and then use:
mItems
mAdapter.notifyItemInserted(mItems.size() - 1);
this method is better than using:
mAdapter.notifyDataSetChanged();
in performance.