Answer the question
In order to leave comments, you need to log in
Which method handles events when an element goes out of view?
Hello. What is the name of the method that registers the display of an element on the screen and its departure, using an example I will try to write more precisely what I mean:
Picasso starts loading images only when this element is shown on the screen. That would be the same only when scrolling below for example.
If not for android, then in twitch, if you lower it below the broadcast when viewing the channel, then it collapses.
Answer the question
In order to leave comments, you need to log in
Concerning
starts loading images only when this element is shown on the screen- in Android Studio there is a RecyclerView - it's almost the same ListView, only it doesn't create the whole list at once, it stores only what fits on the screen, if the element goes out of visibility when scrolling, it is destroyed and a new one is created instead of it further down the list. Well, something like this.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question