1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-28 02:37:16 +00:00

Updated ROOM

This commit is contained in:
M66B 2021-02-19 12:32:30 +01:00
parent 6778a970d7
commit f5ef1ee261
2 changed files with 3 additions and 3 deletions

View file

@ -252,7 +252,7 @@ dependencies {
def lifecycle_version = "2.3.0"
def lifecycle_extensions_version = "2.2.0"
def sqlite_version = "2.1.0"
def room_version = "2.3.0-beta01"
def room_version = "2.3.0-beta02"
def paging_version = "2.1.2" // 3.0.0-alpha11
def preference_version = "1.1.1"
def work_version = "2.5.0"

View file

@ -20,7 +20,6 @@ import android.database.Cursor;
import androidx.annotation.NonNull;
import androidx.annotation.RestrictTo;
import androidx.paging.PositionalDataSource;
import androidx.room.InvalidationTracker;
import androidx.room.RoomDatabase;
import androidx.room.RoomSQLiteQuery;
@ -43,8 +42,9 @@ import java.util.Set;
*
* @hide
*/
@SuppressWarnings("deprecation")
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP_PREFIX)
public abstract class LimitOffsetDataSource<T> extends PositionalDataSource<T> {
public abstract class LimitOffsetDataSource<T> extends androidx.paging.PositionalDataSource<T> {
private final RoomSQLiteQuery mSourceQuery;
private final String mCountQuery;
private final String mLimitOffsetQuery;