Skip to content

Instantly share code, notes, and snippets.

View AJSer027's full-sized avatar

AJ Seraspi AJSer027

View GitHub Profile
@AJSer027
AJSer027 / InfiniteFirebaseArray.java
Last active July 20, 2018 13:31
Firebase paginator from last to first (for chat app)
import android.support.annotation.IntDef;
import android.text.TextUtils;
import com.example.Utils.Pagination.Logger;
import com.google.firebase.database.ChildEventListener;
import com.google.firebase.database.DataSnapshot;
import com.google.firebase.database.DatabaseError;
import com.google.firebase.database.Query;
import java.lang.annotation.Retention;