Here some snippet of my code. when first time RecyclerView create I have to used recyclerView.scrollToPosition(chatDetailModels.size()-1); and its working but after add item in array list and notifyDataSetChanged for adapter its not goes to bottom automatically I have also try some other functions but its not work for me.
chatDetailModels.add(chatDetailModel);
adapter.notifyDataSetChanged();
recyclerView.getLayoutManager().smoothScrollToPosition(recyclerView, null, adapter.getItemCount() - 1);
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)