N
N
Nadir Parilaev2019-10-26 10:18:52
Android
Nadir Parilaev, 2019-10-26 10:18:52

Next element from firebase base?

Tell me if it is possible to know the uid of the current element in firebase to find the neighboring one. That is, there is an application Scroller of pictures pictures in firebase with a swipe to the right or left, the next picture or the previous one is displayed. Or for this you need to pull out the entire list of pictures.
The question is, knowing the current uid, how to find the neighboring (next) one?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Zagaevsky, 2019-10-26
@zagayevskiy

At the moment when the user scrolls through the picture, it is already too late to rush about, it will lag. Of course, you need to get at least part of the sheet, and do page loading, plus do it in advance.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question