currently I\'m doing this to get the focus of the last item in a listview after clicking on an edit text:
bodyText.setOnFocusChangeListener(new OnFocusCh
For Someone who works with new RecyclerView widget that is recommended:
just like accepted answer but replace:
setSelection(getCount());
with this:
(LinearLayoutManager)getLayoutManager())
.scrollToPositionWithOffset(getAdapter().getItemCount() - 1, 0);
just LinearLayoutManagerand StaggeredGridLayoutManager have this method. so use this LayoutManagers.