Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to get the last item text in recyclerview, but I do not know how.

What I have tried:

Rec.getchildat(rec.adapter().getitemcount()-1)
Posted
Updated 5-Apr-22 19:58pm
Comments
David Crow 23-Mar-20 21:53pm    
What sort of items does your adapter contain?

1 solution

I want help with that too!

Textview
 
Share this answer
 
Comments
Richard Deeming 6-Apr-22 4:03am    
"Me too" is not a solution to this question!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900