firebase - beginAt, endAt using index instead of priority -


is there way use beginat , endat index instead of priority can client-side pagination it?

i assign .priority non-null values sorting.

you can using second argument startat / endat.

note priority takes precedence when ordering messages, you'll need priority same (ie null) items want sort index.

you this:

ref.startat(null, indextostartat).endat(null, indextoendat); 

Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -