diff --git a/BasicRxJavaSample/versions.gradle b/BasicRxJavaSample/versions.gradle index 5c78a5456..d6a34398d 100644 --- a/BasicRxJavaSample/versions.gradle +++ b/BasicRxJavaSample/versions.gradle @@ -52,7 +52,7 @@ versions.mockito_android = "2.25.0" versions.mockwebserver = "3.8.1" versions.navigation = "2.3.0-alpha01" versions.okhttp_logging_interceptor = "3.9.0" -versions.paging = "3.0.0-alpha07" +versions.paging = "3.0.0-alpha08" versions.recyclerview = "1.0.0" versions.retrofit = "2.9.0" versions.robolectric = "4.2" diff --git a/BasicRxJavaSampleKotlin/versions.gradle b/BasicRxJavaSampleKotlin/versions.gradle index 5c78a5456..d6a34398d 100644 --- a/BasicRxJavaSampleKotlin/versions.gradle +++ b/BasicRxJavaSampleKotlin/versions.gradle @@ -52,7 +52,7 @@ versions.mockito_android = "2.25.0" versions.mockwebserver = "3.8.1" versions.navigation = "2.3.0-alpha01" versions.okhttp_logging_interceptor = "3.9.0" -versions.paging = "3.0.0-alpha07" +versions.paging = "3.0.0-alpha08" versions.recyclerview = "1.0.0" versions.retrofit = "2.9.0" versions.robolectric = "4.2" diff --git a/BasicSample/versions.gradle b/BasicSample/versions.gradle index 5c78a5456..d6a34398d 100644 --- a/BasicSample/versions.gradle +++ b/BasicSample/versions.gradle @@ -52,7 +52,7 @@ versions.mockito_android = "2.25.0" versions.mockwebserver = "3.8.1" versions.navigation = "2.3.0-alpha01" versions.okhttp_logging_interceptor = "3.9.0" -versions.paging = "3.0.0-alpha07" +versions.paging = "3.0.0-alpha08" versions.recyclerview = "1.0.0" versions.retrofit = "2.9.0" versions.robolectric = "4.2" diff --git a/GithubBrowserSample/versions.gradle b/GithubBrowserSample/versions.gradle index 5c78a5456..d6a34398d 100644 --- a/GithubBrowserSample/versions.gradle +++ b/GithubBrowserSample/versions.gradle @@ -52,7 +52,7 @@ versions.mockito_android = "2.25.0" versions.mockwebserver = "3.8.1" versions.navigation = "2.3.0-alpha01" versions.okhttp_logging_interceptor = "3.9.0" -versions.paging = "3.0.0-alpha07" +versions.paging = "3.0.0-alpha08" versions.recyclerview = "1.0.0" versions.retrofit = "2.9.0" versions.robolectric = "4.2" diff --git a/LiveDataSample/versions.gradle b/LiveDataSample/versions.gradle index 5c78a5456..d6a34398d 100644 --- a/LiveDataSample/versions.gradle +++ b/LiveDataSample/versions.gradle @@ -52,7 +52,7 @@ versions.mockito_android = "2.25.0" versions.mockwebserver = "3.8.1" versions.navigation = "2.3.0-alpha01" versions.okhttp_logging_interceptor = "3.9.0" -versions.paging = "3.0.0-alpha07" +versions.paging = "3.0.0-alpha08" versions.recyclerview = "1.0.0" versions.retrofit = "2.9.0" versions.robolectric = "4.2" diff --git a/NavigationAdvancedSample/versions.gradle b/NavigationAdvancedSample/versions.gradle index 5c78a5456..d6a34398d 100644 --- a/NavigationAdvancedSample/versions.gradle +++ b/NavigationAdvancedSample/versions.gradle @@ -52,7 +52,7 @@ versions.mockito_android = "2.25.0" versions.mockwebserver = "3.8.1" versions.navigation = "2.3.0-alpha01" versions.okhttp_logging_interceptor = "3.9.0" -versions.paging = "3.0.0-alpha07" +versions.paging = "3.0.0-alpha08" versions.recyclerview = "1.0.0" versions.retrofit = "2.9.0" versions.robolectric = "4.2" diff --git a/NavigationBasicSample/versions.gradle b/NavigationBasicSample/versions.gradle index 5c78a5456..d6a34398d 100644 --- a/NavigationBasicSample/versions.gradle +++ b/NavigationBasicSample/versions.gradle @@ -52,7 +52,7 @@ versions.mockito_android = "2.25.0" versions.mockwebserver = "3.8.1" versions.navigation = "2.3.0-alpha01" versions.okhttp_logging_interceptor = "3.9.0" -versions.paging = "3.0.0-alpha07" +versions.paging = "3.0.0-alpha08" versions.recyclerview = "1.0.0" versions.retrofit = "2.9.0" versions.robolectric = "4.2" diff --git a/PagingSample/versions.gradle b/PagingSample/versions.gradle index 5c78a5456..d6a34398d 100644 --- a/PagingSample/versions.gradle +++ b/PagingSample/versions.gradle @@ -52,7 +52,7 @@ versions.mockito_android = "2.25.0" versions.mockwebserver = "3.8.1" versions.navigation = "2.3.0-alpha01" versions.okhttp_logging_interceptor = "3.9.0" -versions.paging = "3.0.0-alpha07" +versions.paging = "3.0.0-alpha08" versions.recyclerview = "1.0.0" versions.retrofit = "2.9.0" versions.robolectric = "4.2" diff --git a/PagingWithNetworkSample/lib/src/main/java/com/android/example/paging/pagingwithnetwork/reddit/repository/NetworkState.kt b/PagingWithNetworkSample/lib/src/main/java/com/android/example/paging/pagingwithnetwork/reddit/repository/NetworkState.kt deleted file mode 100644 index 0141be4eb..000000000 --- a/PagingWithNetworkSample/lib/src/main/java/com/android/example/paging/pagingwithnetwork/reddit/repository/NetworkState.kt +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (C) 2017 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.android.example.paging.pagingwithnetwork.reddit.repository - -enum class Status { - RUNNING, - SUCCESS, - FAILED -} - -@Suppress("DataClassPrivateConstructor") -data class NetworkState private constructor( - val status: Status, - val msg: String? = null) { - companion object { - val LOADED = NetworkState(Status.SUCCESS) - val LOADING = NetworkState(Status.RUNNING) - fun error(msg: String?) = NetworkState(Status.FAILED, msg) - } -} \ No newline at end of file diff --git a/PagingWithNetworkSample/versions.gradle b/PagingWithNetworkSample/versions.gradle index 5c78a5456..d6a34398d 100644 --- a/PagingWithNetworkSample/versions.gradle +++ b/PagingWithNetworkSample/versions.gradle @@ -52,7 +52,7 @@ versions.mockito_android = "2.25.0" versions.mockwebserver = "3.8.1" versions.navigation = "2.3.0-alpha01" versions.okhttp_logging_interceptor = "3.9.0" -versions.paging = "3.0.0-alpha07" +versions.paging = "3.0.0-alpha08" versions.recyclerview = "1.0.0" versions.retrofit = "2.9.0" versions.robolectric = "4.2" diff --git a/PersistenceContentProviderSample/versions.gradle b/PersistenceContentProviderSample/versions.gradle index 5c78a5456..d6a34398d 100644 --- a/PersistenceContentProviderSample/versions.gradle +++ b/PersistenceContentProviderSample/versions.gradle @@ -52,7 +52,7 @@ versions.mockito_android = "2.25.0" versions.mockwebserver = "3.8.1" versions.navigation = "2.3.0-alpha01" versions.okhttp_logging_interceptor = "3.9.0" -versions.paging = "3.0.0-alpha07" +versions.paging = "3.0.0-alpha08" versions.recyclerview = "1.0.0" versions.retrofit = "2.9.0" versions.robolectric = "4.2" diff --git a/PersistenceMigrationsSample/versions.gradle b/PersistenceMigrationsSample/versions.gradle index 5c78a5456..d6a34398d 100644 --- a/PersistenceMigrationsSample/versions.gradle +++ b/PersistenceMigrationsSample/versions.gradle @@ -52,7 +52,7 @@ versions.mockito_android = "2.25.0" versions.mockwebserver = "3.8.1" versions.navigation = "2.3.0-alpha01" versions.okhttp_logging_interceptor = "3.9.0" -versions.paging = "3.0.0-alpha07" +versions.paging = "3.0.0-alpha08" versions.recyclerview = "1.0.0" versions.retrofit = "2.9.0" versions.robolectric = "4.2" diff --git a/ViewBindingSample/versions.gradle b/ViewBindingSample/versions.gradle index 5c78a5456..d6a34398d 100644 --- a/ViewBindingSample/versions.gradle +++ b/ViewBindingSample/versions.gradle @@ -52,7 +52,7 @@ versions.mockito_android = "2.25.0" versions.mockwebserver = "3.8.1" versions.navigation = "2.3.0-alpha01" versions.okhttp_logging_interceptor = "3.9.0" -versions.paging = "3.0.0-alpha07" +versions.paging = "3.0.0-alpha08" versions.recyclerview = "1.0.0" versions.retrofit = "2.9.0" versions.robolectric = "4.2" diff --git a/WorkManagerSample/versions.gradle b/WorkManagerSample/versions.gradle index 5c78a5456..d6a34398d 100644 --- a/WorkManagerSample/versions.gradle +++ b/WorkManagerSample/versions.gradle @@ -52,7 +52,7 @@ versions.mockito_android = "2.25.0" versions.mockwebserver = "3.8.1" versions.navigation = "2.3.0-alpha01" versions.okhttp_logging_interceptor = "3.9.0" -versions.paging = "3.0.0-alpha07" +versions.paging = "3.0.0-alpha08" versions.recyclerview = "1.0.0" versions.retrofit = "2.9.0" versions.robolectric = "4.2" diff --git a/versions.gradle b/versions.gradle index 5c78a5456..d6a34398d 100644 --- a/versions.gradle +++ b/versions.gradle @@ -52,7 +52,7 @@ versions.mockito_android = "2.25.0" versions.mockwebserver = "3.8.1" versions.navigation = "2.3.0-alpha01" versions.okhttp_logging_interceptor = "3.9.0" -versions.paging = "3.0.0-alpha07" +versions.paging = "3.0.0-alpha08" versions.recyclerview = "1.0.0" versions.retrofit = "2.9.0" versions.robolectric = "4.2"