Updated ROOM

pull/194/head
M66B 4 years ago
parent 6778a970d7
commit f5ef1ee261

@ -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"

@ -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;

Loading…
Cancel
Save