A
A
Andrew none2018-05-19 09:19:12
Android
Andrew none, 2018-05-19 09:19:12

I need to execute the method after rendering the recyclerview how to do it?

In the adapter's onBindViewHolder method, the FAB is added to the list. After you need to find this FAB and execute its clicklistener, and animate it into invisible. PS I have a media player and when the screen is rotated, it gets lost and the position, title is saved in the onSaveInstanceState method. But when I find that FAB in onCreate, onBind is executed after onCreate and an error occurs that the sheet size is 0, and I'm looking for 1

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question