The below code is to find the view on the first position. How do I find the view on the last position?
TextView textView =
(TextView)myRecyclerView.findViewHo
try this
TextView textView =(TextView)myRecyclerView.findViewHolderForAdapterPosition(mFirebaseAdapter.getItemCount()-1).itemView.findViewById(R.id.myTV);
try this
TextView textView = (TextView) myRecyclerView.findViewHolderForAdapterPosition(arraylist.size()-1).itemView.findViewById(R.id.myTV);
or try this
simply you can do this:
if(position == YouList.size()-1)
{
/*lastItem*/
}