├── .circleci
└── config.yml
├── .github
├── ISSUE_TEMPLATE
│ ├── config.yml
│ └── issue_template.md
├── ci-gradle.properties
└── workflows
│ ├── BasicRxJavaSample.yaml
│ ├── BasicRxJavaSampleKotlin.yaml
│ ├── BasicSample.yaml
│ ├── GithubBrowserSample.yaml
│ ├── LiveDataSample.yaml
│ ├── NavigationAdvancedSample.yaml
│ ├── NavigationBasicSample.yaml
│ ├── PagingSample.yaml
│ ├── PagingWithNetworkSample.yaml
│ ├── PersistenceContentProviderSample.yaml
│ ├── PersistenceMigrationsSample.yaml
│ ├── ViewBindingSample.yaml
│ ├── WorkManagerMultiprocessSample.yaml
│ ├── WorkManagerSample.yaml
│ └── copy-branch.yml
├── .gitignore
├── BasicRxJavaSample
├── .gitignore
├── .google
│ └── packaging.yaml
├── README.md
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── android
│ │ │ └── observability
│ │ │ └── persistence
│ │ │ ├── LocalUserDataSourceTest.java
│ │ │ └── UserDaoTest.java
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── android
│ │ │ │ └── observability
│ │ │ │ ├── Injection.java
│ │ │ │ ├── UserDataSource.java
│ │ │ │ ├── persistence
│ │ │ │ ├── LocalUserDataSource.java
│ │ │ │ ├── User.java
│ │ │ │ ├── UserDao.java
│ │ │ │ └── UsersDatabase.java
│ │ │ │ └── ui
│ │ │ │ ├── UserActivity.java
│ │ │ │ ├── UserViewModel.java
│ │ │ │ └── ViewModelFactory.java
│ │ └── res
│ │ │ ├── layout
│ │ │ └── activity_user.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── example
│ │ └── android
│ │ └── observability
│ │ └── UserViewModelTest.java
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── settings.gradle
└── versions.gradle
├── BasicRxJavaSampleKotlin
├── .gitignore
├── .google
│ └── packaging.yaml
├── README.md
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── android
│ │ │ └── observability
│ │ │ └── persistence
│ │ │ └── UserDaoTest.kt
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── android
│ │ │ │ └── observability
│ │ │ │ ├── Injection.kt
│ │ │ │ ├── persistence
│ │ │ │ ├── User.kt
│ │ │ │ ├── UserDao.kt
│ │ │ │ └── UsersDatabase.kt
│ │ │ │ └── ui
│ │ │ │ ├── UserActivity.kt
│ │ │ │ ├── UserViewModel.kt
│ │ │ │ └── ViewModelFactory.kt
│ │ └── res
│ │ │ ├── layout
│ │ │ └── activity_user.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── example
│ │ └── android
│ │ └── observability
│ │ ├── MockitoKotlinHelpers.kt
│ │ └── UserViewModelTest.kt
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── settings.gradle
└── versions.gradle
├── BasicSample
├── .gitignore
├── .google
│ └── packaging.yaml
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── app
│ ├── build.gradle
│ ├── proguard-rules.pro
│ ├── schemas
│ │ └── com.example.android.persistence.db.AppDatabase
│ │ │ └── 2.json
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── android
│ │ │ └── persistence
│ │ │ ├── EspressoTestUtil.java
│ │ │ ├── LiveDataTestUtil.java
│ │ │ ├── db
│ │ │ ├── CommentDaoTest.java
│ │ │ ├── ProductDaoTest.java
│ │ │ └── TestData.java
│ │ │ └── ui
│ │ │ └── MainActivityTest.java
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── example
│ │ │ └── android
│ │ │ └── persistence
│ │ │ ├── AppExecutors.java
│ │ │ ├── BasicApp.java
│ │ │ ├── DataRepository.java
│ │ │ ├── db
│ │ │ ├── AppDatabase.java
│ │ │ ├── DataGenerator.java
│ │ │ ├── converter
│ │ │ │ └── DateConverter.java
│ │ │ ├── dao
│ │ │ │ ├── CommentDao.java
│ │ │ │ └── ProductDao.java
│ │ │ └── entity
│ │ │ │ ├── CommentEntity.java
│ │ │ │ ├── ProductEntity.java
│ │ │ │ └── ProductFtsEntity.java
│ │ │ ├── model
│ │ │ ├── Comment.java
│ │ │ └── Product.java
│ │ │ ├── ui
│ │ │ ├── BindingAdapters.java
│ │ │ ├── CommentAdapter.java
│ │ │ ├── CommentClickCallback.java
│ │ │ ├── MainActivity.java
│ │ │ ├── ProductAdapter.java
│ │ │ ├── ProductClickCallback.java
│ │ │ ├── ProductFragment.java
│ │ │ └── ProductListFragment.java
│ │ │ └── viewmodel
│ │ │ ├── ProductListViewModel.java
│ │ │ └── ProductViewModel.java
│ │ └── res
│ │ ├── drawable
│ │ └── ic_search_black_24dp.xml
│ │ ├── layout
│ │ ├── comment_item.xml
│ │ ├── list_fragment.xml
│ │ ├── main_activity.xml
│ │ ├── product_fragment.xml
│ │ └── product_item.xml
│ │ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxxhdpi
│ │ └── ic_launcher.png
│ │ └── values
│ │ ├── colors.xml
│ │ ├── dimens.xml
│ │ ├── product_app.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── docs
│ └── images
│ │ ├── VM_diagram.png
│ │ └── VM_subscriptions.png
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── settings.gradle
└── versions.gradle
├── CONTRIBUTING.md
├── GithubBrowserSample
├── .gitignore
├── .google
│ └── packaging.yaml
├── README.md
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── android
│ │ │ └── example
│ │ │ └── github
│ │ │ ├── TestApp.kt
│ │ │ ├── db
│ │ │ ├── DbTest.kt
│ │ │ ├── RepoDaoTest.kt
│ │ │ └── UserDaoTest.kt
│ │ │ ├── ui
│ │ │ ├── repo
│ │ │ │ └── RepoFragmentTest.kt
│ │ │ ├── search
│ │ │ │ └── SearchFragmentTest.kt
│ │ │ └── user
│ │ │ │ └── UserFragmentTest.kt
│ │ │ └── util
│ │ │ ├── AutoClearedValueTest.kt
│ │ │ ├── CountingAppExecutorsRule.kt
│ │ │ ├── DataBindingIdlingResource.kt
│ │ │ ├── DataBindingIdlingResourceRule.kt
│ │ │ ├── DataBindingIdlingResourceTest.kt
│ │ │ ├── EspressoTestUtil.kt
│ │ │ ├── GithubTestRunner.kt
│ │ │ ├── RecyclerViewMatcher.kt
│ │ │ ├── TaskExecutorWithIdlingResourceRule.kt
│ │ │ └── ViewModelUtil.kt
│ │ ├── debug
│ │ ├── AndroidManifest.xml
│ │ └── java
│ │ │ └── com
│ │ │ └── android
│ │ │ └── example
│ │ │ └── github
│ │ │ └── testing
│ │ │ ├── OpenForTesting.kt
│ │ │ └── SingleFragmentActivity.kt
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── android
│ │ │ │ └── example
│ │ │ │ └── github
│ │ │ │ ├── AppExecutors.kt
│ │ │ │ ├── GithubApp.kt
│ │ │ │ ├── MainActivity.kt
│ │ │ │ ├── api
│ │ │ │ ├── ApiResponse.kt
│ │ │ │ ├── GithubService.kt
│ │ │ │ └── RepoSearchResponse.kt
│ │ │ │ ├── binding
│ │ │ │ ├── BindingAdapters.kt
│ │ │ │ ├── FragmentBindingAdapters.kt
│ │ │ │ └── FragmentDataBindingComponent.kt
│ │ │ │ ├── db
│ │ │ │ ├── GithubDb.kt
│ │ │ │ ├── GithubTypeConverters.kt
│ │ │ │ ├── RepoDao.kt
│ │ │ │ └── UserDao.kt
│ │ │ │ ├── di
│ │ │ │ ├── AppComponent.kt
│ │ │ │ ├── AppInjector.kt
│ │ │ │ ├── AppModule.kt
│ │ │ │ ├── FragmentBuildersModule.kt
│ │ │ │ ├── Injectable.kt
│ │ │ │ ├── MainActivityModule.kt
│ │ │ │ ├── ViewModelKey.kt
│ │ │ │ └── ViewModelModule.kt
│ │ │ │ ├── repository
│ │ │ │ ├── FetchNextSearchPageTask.kt
│ │ │ │ ├── NetworkBoundResource.kt
│ │ │ │ ├── RepoRepository.kt
│ │ │ │ └── UserRepository.kt
│ │ │ │ ├── ui
│ │ │ │ ├── common
│ │ │ │ │ ├── DataBoundListAdapter.kt
│ │ │ │ │ ├── DataBoundViewHolder.kt
│ │ │ │ │ ├── RepoListAdapter.kt
│ │ │ │ │ └── RetryCallback.kt
│ │ │ │ ├── repo
│ │ │ │ │ ├── ContributorAdapter.kt
│ │ │ │ │ ├── RepoFragment.kt
│ │ │ │ │ └── RepoViewModel.kt
│ │ │ │ ├── search
│ │ │ │ │ ├── SearchFragment.kt
│ │ │ │ │ └── SearchViewModel.kt
│ │ │ │ └── user
│ │ │ │ │ ├── UserFragment.kt
│ │ │ │ │ └── UserViewModel.kt
│ │ │ │ ├── util
│ │ │ │ ├── AbsentLiveData.kt
│ │ │ │ ├── AutoClearedValue.kt
│ │ │ │ ├── LiveDataCallAdapter.kt
│ │ │ │ ├── LiveDataCallAdapterFactory.kt
│ │ │ │ └── RateLimiter.kt
│ │ │ │ ├── viewmodel
│ │ │ │ └── GithubViewModelFactory.kt
│ │ │ │ └── vo
│ │ │ │ ├── Contributor.kt
│ │ │ │ ├── Repo.kt
│ │ │ │ ├── RepoSearchResult.kt
│ │ │ │ ├── Resource.kt
│ │ │ │ ├── Status.kt
│ │ │ │ └── User.kt
│ │ └── res
│ │ │ ├── layout
│ │ │ ├── contributor_item.xml
│ │ │ ├── loading_state.xml
│ │ │ ├── main_activity.xml
│ │ │ ├── repo_fragment.xml
│ │ │ ├── repo_item.xml
│ │ │ ├── search_fragment.xml
│ │ │ └── user_fragment.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── navigation
│ │ │ └── main.xml
│ │ │ ├── transition
│ │ │ └── move.xml
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── dimens.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ ├── release
│ │ └── java
│ │ │ └── com
│ │ │ └── android
│ │ │ └── example
│ │ │ └── github
│ │ │ └── testing
│ │ │ └── OpenForTesting.kt
│ │ ├── test-common
│ │ └── java
│ │ │ └── com
│ │ │ └── android
│ │ │ └── example
│ │ │ └── github
│ │ │ └── util
│ │ │ ├── CountingAppExecutors.kt
│ │ │ ├── LiveDataTestUtil.kt
│ │ │ ├── MockitoExt.kt
│ │ │ └── TestUtil.kt
│ │ └── test
│ │ ├── java
│ │ └── com
│ │ │ └── android
│ │ │ └── example
│ │ │ └── github
│ │ │ ├── api
│ │ │ ├── ApiResponseTest.kt
│ │ │ └── GithubServiceTest.kt
│ │ │ ├── repository
│ │ │ ├── FetchNextSearchPageTaskTest.kt
│ │ │ ├── NetworkBoundResourceTest.kt
│ │ │ ├── RepoRepositoryTest.kt
│ │ │ └── UserRepositoryTest.kt
│ │ │ ├── ui
│ │ │ ├── repo
│ │ │ │ └── RepoViewModelTest.kt
│ │ │ ├── search
│ │ │ │ ├── NextPageHandlerTest.kt
│ │ │ │ └── SearchViewModelTest.kt
│ │ │ └── user
│ │ │ │ └── UserViewModelTest.kt
│ │ │ └── util
│ │ │ ├── ApiUtil.kt
│ │ │ └── InstantAppExecutors.kt
│ │ └── resources
│ │ └── api-response
│ │ ├── contributors.json
│ │ ├── repos-yigit.json
│ │ ├── search.json
│ │ └── user-yigit.json
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── lint.xml
├── settings.gradle
└── versions.gradle
├── LICENSE
├── LiveDataSample
├── .gitignore
├── .google
│ └── packaging.yaml
├── LICENSE
├── README.md
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── android
│ │ │ └── example
│ │ │ └── livedata
│ │ │ ├── BasicUiTest.kt
│ │ │ └── DataBindingIdlingResource.kt
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── android
│ │ │ │ └── example
│ │ │ │ └── livedatabuilder
│ │ │ │ ├── DefaultDataSource.kt
│ │ │ │ ├── LiveDataActivity.kt
│ │ │ │ └── LiveDataViewModel.kt
│ │ └── res
│ │ │ ├── drawable-v24
│ │ │ └── ic_launcher_foreground.xml
│ │ │ ├── drawable
│ │ │ └── ic_launcher_background.xml
│ │ │ ├── layout
│ │ │ └── activity_livedata.xml
│ │ │ ├── mipmap-anydpi-v26
│ │ │ ├── ic_launcher.xml
│ │ │ └── ic_launcher_round.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── android
│ │ └── example
│ │ └── livedatabuilder
│ │ ├── LiveDataViewModelTest.kt
│ │ └── util
│ │ ├── LiveDataTestUtil.kt
│ │ └── MainCoroutineRule.kt
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── settings.gradle
└── versions.gradle
├── MADSkillsNavigationSample
├── .gitignore
├── README.md
├── app
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── android
│ │ │ └── samples
│ │ │ └── donuttracker
│ │ │ ├── Donut.kt
│ │ │ ├── DonutEntryDialogFragment.kt
│ │ │ ├── DonutEntryViewModel.kt
│ │ │ ├── DonutList.kt
│ │ │ ├── DonutListAdapter.kt
│ │ │ ├── DonutListViewModel.kt
│ │ │ ├── MainActivity.kt
│ │ │ ├── Notifier.kt
│ │ │ ├── ViewModelFactory.kt
│ │ │ └── storage
│ │ │ ├── DonutDao.kt
│ │ │ └── DonutDatabase.kt
│ │ └── res
│ │ ├── drawable-v24
│ │ └── ic_launcher_foreground.xml
│ │ ├── drawable
│ │ ├── donut_with_sprinkles.xml
│ │ ├── ic_clear_24px.xml
│ │ └── ic_launcher_background.xml
│ │ ├── layout
│ │ ├── activity_main.xml
│ │ ├── content_main.xml
│ │ ├── donut_entry_dialog.xml
│ │ ├── donut_item.xml
│ │ └── donut_list.xml
│ │ ├── menu
│ │ └── menu_main.xml
│ │ ├── mipmap-anydpi-v26
│ │ ├── ic_launcher.xml
│ │ └── ic_launcher_round.xml
│ │ ├── mipmap-hdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-mdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xhdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xxhdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xxxhdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── navigation
│ │ └── nav_graph.xml
│ │ ├── values
│ │ ├── colors.xml
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
│ │ ├── xml-v25
│ │ └── shortcuts.xml
│ │ └── xml
│ │ └── shortcuts.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── screenshot.png
├── settings.gradle
└── versions.gradle
├── NavigationAdvancedSample
├── .gitignore
├── .google
│ └── packaging.yaml
├── .idea
│ └── runConfigurations
│ │ ├── app.xml
│ │ └── deeplink.xml
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ ├── sampledata
│ │ └── rank.json
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── android
│ │ │ └── navigationadvancedsample
│ │ │ ├── BottomNavigationTest.kt
│ │ │ └── DeepLinkTest.kt
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── example
│ │ │ └── android
│ │ │ └── navigationadvancedsample
│ │ │ ├── MainActivity.kt
│ │ │ ├── formscreen
│ │ │ ├── Register.kt
│ │ │ └── Registered.kt
│ │ │ ├── homescreen
│ │ │ ├── About.kt
│ │ │ └── Title.kt
│ │ │ └── listscreen
│ │ │ ├── Leaderboard.kt
│ │ │ └── UserProfile.kt
│ │ └── res
│ │ ├── anim
│ │ ├── fade_in.xml
│ │ └── fade_out.xml
│ │ ├── drawable-v24
│ │ └── ic_launcher_foreground.xml
│ │ ├── drawable
│ │ ├── avatar_1_raster.png
│ │ ├── avatar_2_raster.png
│ │ ├── avatar_3_raster.png
│ │ ├── avatar_4_raster.png
│ │ ├── avatar_5_raster.png
│ │ ├── avatar_6_raster.png
│ │ ├── button_press.xml
│ │ ├── button_press_dark.xml
│ │ ├── circle.xml
│ │ ├── ic_feedback.xml
│ │ ├── ic_home.xml
│ │ ├── ic_launcher_background.xml
│ │ ├── ic_list.xml
│ │ ├── image_category_entertainment_raster.png
│ │ ├── purple_frame.xml
│ │ ├── rounded_button.xml
│ │ └── rounded_rect.xml
│ │ ├── layout
│ │ ├── activity_main.xml
│ │ ├── fragment_about.xml
│ │ ├── fragment_leaderboard.xml
│ │ ├── fragment_register.xml
│ │ ├── fragment_registered.xml
│ │ ├── fragment_title.xml
│ │ ├── fragment_user_profile.xml
│ │ ├── layout_picker.xml
│ │ ├── list_view_item.xml
│ │ └── user_card.xml
│ │ ├── menu
│ │ └── bottom_nav.xml
│ │ ├── mipmap-anydpi-v26
│ │ ├── ic_launcher.xml
│ │ └── ic_launcher_round.xml
│ │ ├── mipmap-hdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-mdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xhdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xxhdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xxxhdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── navigation
│ │ ├── form.xml
│ │ ├── home.xml
│ │ ├── list.xml
│ │ └── nav_graph.xml
│ │ └── values
│ │ ├── colors.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── screenshot.png
├── settings.gradle
└── versions.gradle
├── NavigationBasicSample
├── .gitignore
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ ├── sampledata
│ │ └── rank.json
│ └── src
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── android
│ │ │ │ └── navigationsample
│ │ │ │ ├── GameOver.kt
│ │ │ │ ├── InGame.kt
│ │ │ │ ├── Leaderboard.kt
│ │ │ │ ├── MainActivity.kt
│ │ │ │ ├── Match.kt
│ │ │ │ ├── Register.kt
│ │ │ │ ├── ResultsWinner.kt
│ │ │ │ ├── TitleScreen.kt
│ │ │ │ └── UserProfile.kt
│ │ └── res
│ │ │ ├── anim
│ │ │ ├── fade_in.xml
│ │ │ ├── fade_out.xml
│ │ │ ├── slide_in_left.xml
│ │ │ ├── slide_in_right.xml
│ │ │ ├── slide_out_left.xml
│ │ │ └── slide_out_right.xml
│ │ │ ├── drawable-v24
│ │ │ └── ic_launcher_foreground.xml
│ │ │ ├── drawable
│ │ │ ├── avatar_10_raster.png
│ │ │ ├── avatar_11_raster.png
│ │ │ ├── avatar_12_raster.png
│ │ │ ├── avatar_13_raster.png
│ │ │ ├── avatar_14_raster.png
│ │ │ ├── avatar_15_raster.png
│ │ │ ├── avatar_16_raster.png
│ │ │ ├── avatar_1_raster.png
│ │ │ ├── avatar_2_raster.png
│ │ │ ├── avatar_3_raster.png
│ │ │ ├── avatar_4_raster.png
│ │ │ ├── avatar_5_raster.png
│ │ │ ├── avatar_6_raster.png
│ │ │ ├── avatar_7_raster.png
│ │ │ ├── avatar_8_raster.png
│ │ │ ├── avatar_9_raster.png
│ │ │ ├── button_press.xml
│ │ │ ├── button_press_dark.xml
│ │ │ ├── circle.xml
│ │ │ ├── dark_frame.xml
│ │ │ ├── ic_launcher_background.xml
│ │ │ ├── icon_category_leaderboard_raster.png
│ │ │ ├── image_category_entertainment_raster.png
│ │ │ ├── image_category_tvmovies_raster.png
│ │ │ ├── lose_button.xml
│ │ │ ├── mask.xml
│ │ │ ├── purple_frame.xml
│ │ │ ├── rounded_button.xml
│ │ │ ├── rounded_button_dark.xml
│ │ │ ├── rounded_button_white.xml
│ │ │ ├── rounded_rect.xml
│ │ │ ├── white_outline.xml
│ │ │ └── win_button.xml
│ │ │ ├── layout
│ │ │ ├── activity_main.xml
│ │ │ ├── fragment_game_over.xml
│ │ │ ├── fragment_in_game.xml
│ │ │ ├── fragment_leaderboard.xml
│ │ │ ├── fragment_match.xml
│ │ │ ├── fragment_register.xml
│ │ │ ├── fragment_results_winner.xml
│ │ │ ├── fragment_title_screen.xml
│ │ │ ├── fragment_user_profile.xml
│ │ │ ├── layout_picker.xml
│ │ │ ├── list_view_item.xml
│ │ │ └── user_card.xml
│ │ │ ├── mipmap-anydpi-v26
│ │ │ ├── ic_launcher.xml
│ │ │ └── ic_launcher_round.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── navigation
│ │ │ └── navigation.xml
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ └── uiTest
│ │ ├── java
│ │ └── com
│ │ │ └── example
│ │ │ └── android
│ │ │ └── navigationsample
│ │ │ ├── LeaderboardScreenTest.kt
│ │ │ ├── RegisterScreenTest.kt
│ │ │ ├── TitleScreenTestJava.java
│ │ │ └── TitleScreenTestKotlin.kt
│ │ └── resources
│ │ └── robolectric.properties
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── screenshot.png
├── settings.gradle
└── versions.gradle
├── PagingSample
├── .gitignore
├── .google
│ └── packaging.yaml
├── README.md
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── paging
│ │ │ └── android
│ │ │ └── example
│ │ │ └── com
│ │ │ └── pagingsample
│ │ │ ├── CheeseViewModelTest.kt
│ │ │ └── MainActivityTest.kt
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── paging
│ │ │ └── android
│ │ │ └── example
│ │ │ └── com
│ │ │ └── pagingsample
│ │ │ ├── Cheese.kt
│ │ │ ├── CheeseAdapter.kt
│ │ │ ├── CheeseDao.kt
│ │ │ ├── CheeseDb.kt
│ │ │ ├── CheeseListItem.kt
│ │ │ ├── CheeseViewHolder.kt
│ │ │ ├── CheeseViewModel.kt
│ │ │ ├── CheeseViewModelFactory.kt
│ │ │ ├── Executors.kt
│ │ │ └── MainActivity.kt
│ │ └── res
│ │ ├── drawable
│ │ └── ic_launcher_background.xml
│ │ ├── layout
│ │ ├── activity_main.xml
│ │ └── cheese_item.xml
│ │ ├── mipmap-anydpi-v26
│ │ ├── ic_launcher.xml
│ │ └── ic_launcher_round.xml
│ │ ├── mipmap-hdpi
│ │ ├── ic_launcher.png
│ │ ├── ic_launcher_foreground.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-mdpi
│ │ ├── ic_launcher.png
│ │ ├── ic_launcher_foreground.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xhdpi
│ │ ├── ic_launcher.png
│ │ ├── ic_launcher_foreground.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xxhdpi
│ │ ├── ic_launcher.png
│ │ ├── ic_launcher_foreground.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xxxhdpi
│ │ ├── ic_launcher.png
│ │ ├── ic_launcher_foreground.png
│ │ └── ic_launcher_round.png
│ │ └── values
│ │ ├── colors.xml
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── settings.gradle
└── versions.gradle
├── PagingWithNetworkSample
├── .gitignore
├── README.md
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── android
│ │ │ └── example
│ │ │ └── paging
│ │ │ └── pagingwithnetwork
│ │ │ └── reddit
│ │ │ └── ui
│ │ │ └── RedditActivityTest.kt
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── android
│ │ │ │ └── example
│ │ │ │ └── paging
│ │ │ │ └── pagingwithnetwork
│ │ │ │ ├── MainActivity.kt
│ │ │ │ └── reddit
│ │ │ │ ├── ServiceLocator.kt
│ │ │ │ ├── api
│ │ │ │ └── RedditApi.kt
│ │ │ │ ├── db
│ │ │ │ ├── RedditDb.kt
│ │ │ │ ├── RedditPostDao.kt
│ │ │ │ └── SubredditRemoteKeyDao.kt
│ │ │ │ ├── repository
│ │ │ │ ├── inDb
│ │ │ │ │ ├── DbRedditPostRepository.kt
│ │ │ │ │ └── PageKeyedRemoteMediator.kt
│ │ │ │ └── inMemory
│ │ │ │ │ ├── byItem
│ │ │ │ │ ├── InMemoryByItemRepository.kt
│ │ │ │ │ └── ItemKeyedSubredditPagingSource.kt
│ │ │ │ │ └── byPage
│ │ │ │ │ ├── InMemoryByPageKeyRepository.kt
│ │ │ │ │ └── PageKeyedSubredditPagingSource.kt
│ │ │ │ └── ui
│ │ │ │ ├── RedditActivity.kt
│ │ │ │ └── SubRedditViewModel.kt
│ │ └── res
│ │ │ ├── drawable-v24
│ │ │ └── ic_launcher_foreground.xml
│ │ │ ├── drawable
│ │ │ └── ic_launcher_background.xml
│ │ │ ├── layout
│ │ │ ├── activity_main.xml
│ │ │ ├── activity_reddit.xml
│ │ │ ├── network_state_item.xml
│ │ │ └── reddit_post_item.xml
│ │ │ ├── mipmap-anydpi-v26
│ │ │ ├── ic_launcher.xml
│ │ │ └── ic_launcher_round.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ ├── test-common
│ │ └── java
│ │ │ └── com
│ │ │ └── android
│ │ │ └── example
│ │ │ └── paging
│ │ │ └── pagingwithnetwork
│ │ │ └── repository
│ │ │ ├── FakeRedditApi.kt
│ │ │ └── PostFactory.kt
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── android
│ │ └── example
│ │ └── paging
│ │ └── pagingwithnetwork
│ │ └── reddit
│ │ └── repository
│ │ └── SubredditPagingSourceTest.kt
├── benchmark
│ ├── .gitignore
│ ├── benchmark-proguard-rules.pro
│ ├── build.gradle
│ └── src
│ │ ├── androidTest
│ │ ├── AndroidManifest.xml
│ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── benchmark
│ │ │ ├── BenchmarkActivity.kt
│ │ │ ├── PostsAdapterBenchmark.kt
│ │ │ └── TestExecutor.kt
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ └── res
│ │ └── layout
│ │ └── activity_benchmark.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── lib
│ ├── .gitignore
│ ├── build.gradle
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── android
│ │ │ └── example
│ │ │ └── paging
│ │ │ └── pagingwithnetwork
│ │ │ ├── RedditAppGlideModule.kt
│ │ │ └── reddit
│ │ │ ├── paging
│ │ │ └── LoadStatesMerger.kt
│ │ │ ├── repository
│ │ │ └── RedditPostRepository.kt
│ │ │ ├── ui
│ │ │ ├── NetworkStateItemViewHolder.kt
│ │ │ ├── PostsAdapter.kt
│ │ │ ├── PostsLoadStateAdapter.kt
│ │ │ └── RedditPostViewHolder.kt
│ │ │ └── vo
│ │ │ ├── RedditPost.kt
│ │ │ └── SubredditRemoteKey.kt
│ │ └── res
│ │ ├── drawable-hdpi
│ │ └── ic_insert_photo_black_48dp.png
│ │ ├── drawable-mdpi
│ │ └── ic_insert_photo_black_48dp.png
│ │ ├── drawable-xhdpi
│ │ └── ic_insert_photo_black_48dp.png
│ │ ├── drawable-xxhdpi
│ │ └── ic_insert_photo_black_48dp.png
│ │ ├── drawable-xxxhdpi
│ │ └── ic_insert_photo_black_48dp.png
│ │ ├── layout
│ │ ├── network_state_item.xml
│ │ └── reddit_post_item.xml
│ │ └── values
│ │ └── strings.xml
├── settings.gradle
└── versions.gradle
├── PersistenceContentProviderSample
├── .gitignore
├── .google
│ └── packaging.yaml
├── README.md
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ ├── schemas
│ │ └── com.example.android.contentprovidersample.data.SampleDatabase
│ │ │ └── 1.json
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── android
│ │ │ └── contentprovidersample
│ │ │ ├── CheeseTest.java
│ │ │ └── SampleContentProviderTest.java
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── example
│ │ │ └── android
│ │ │ └── contentprovidersample
│ │ │ ├── MainActivity.java
│ │ │ ├── data
│ │ │ ├── Cheese.java
│ │ │ ├── CheeseDao.java
│ │ │ └── SampleDatabase.java
│ │ │ └── provider
│ │ │ └── SampleContentProvider.java
│ │ └── res
│ │ ├── layout
│ │ └── main_activity.xml
│ │ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxxhdpi
│ │ └── ic_launcher.png
│ │ └── values
│ │ ├── colors.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── settings.gradle
└── versions.gradle
├── PersistenceMigrationsSample
├── .gitignore
├── README.md
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ ├── schemas
│ │ └── com.example.android.persistence.migrations.UsersDatabase
│ │ │ ├── 2.json
│ │ │ ├── 3.json
│ │ │ ├── 4.json
│ │ │ └── 5.json
│ └── src
│ │ ├── androidTestRoom
│ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── android
│ │ │ └── persistence
│ │ │ └── migrations
│ │ │ ├── LocalUserDataSourceTest.java
│ │ │ ├── MigrationTest.java
│ │ │ └── UserDaoTest.java
│ │ ├── androidTestRoom2
│ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── android
│ │ │ └── persistence
│ │ │ └── migrations
│ │ │ ├── LocalUserDataSourceTest.java
│ │ │ └── MigrationTest.java
│ │ ├── androidTestRoom3
│ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── android
│ │ │ └── persistence
│ │ │ └── migrations
│ │ │ ├── LocalUserDataSourceTest.java
│ │ │ └── MigrationTest.java
│ │ ├── androidTestRoom_Common
│ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── android
│ │ │ └── persistence
│ │ │ └── migrations
│ │ │ ├── SqliteDatabaseTestHelper.java
│ │ │ └── SqliteTestDbOpenHelper.java
│ │ ├── androidTestSqlite
│ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── android
│ │ │ └── persistence
│ │ │ └── migrations
│ │ │ └── LocalUserDataSourceTest.java
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── android
│ │ │ │ └── persistence
│ │ │ │ └── migrations
│ │ │ │ ├── AppExecutors.java
│ │ │ │ ├── LoadUserCallback.java
│ │ │ │ ├── UpdateUserCallback.java
│ │ │ │ ├── UserActivity.java
│ │ │ │ ├── UserDataSource.java
│ │ │ │ ├── UserPresenter.java
│ │ │ │ └── UserView.java
│ │ └── res
│ │ │ ├── layout
│ │ │ └── activity_user.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ ├── room
│ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── android
│ │ │ └── persistence
│ │ │ └── migrations
│ │ │ ├── User.java
│ │ │ ├── UserRepository.java
│ │ │ └── UsersDatabase.java
│ │ ├── room2
│ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── android
│ │ │ └── persistence
│ │ │ └── migrations
│ │ │ ├── DateConverter.java
│ │ │ ├── User.java
│ │ │ ├── UserRepository.java
│ │ │ └── UsersDatabase.java
│ │ ├── room3
│ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── android
│ │ │ └── persistence
│ │ │ └── migrations
│ │ │ ├── DateConverter.java
│ │ │ ├── User.java
│ │ │ ├── UserRepository.java
│ │ │ └── UsersDatabase.java
│ │ ├── room_common
│ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── android
│ │ │ └── persistence
│ │ │ └── migrations
│ │ │ ├── LocalUserDataSource.java
│ │ │ └── UserDao.java
│ │ ├── sqlite
│ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── android
│ │ │ └── persistence
│ │ │ └── migrations
│ │ │ ├── LocalUserDataSource.java
│ │ │ ├── User.java
│ │ │ ├── UserPersistenceContract.java
│ │ │ ├── UserRepository.java
│ │ │ └── UsersDbHelper.java
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── example
│ │ └── android
│ │ └── persistence
│ │ └── migrations
│ │ ├── SingleExecutors.java
│ │ ├── UserPresenterTest.java
│ │ └── UserRepositoryTest.java
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── settings.gradle
└── versions.gradle
├── README.md
├── ViewBindingSample
├── .gitignore
├── README.md
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── android
│ │ │ └── example
│ │ │ └── viewbindingsample
│ │ │ └── SimpleUiTest.kt
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── android
│ │ │ └── example
│ │ │ └── viewbindingsample
│ │ │ ├── BindFragment.kt
│ │ │ ├── InflateFragment.kt
│ │ │ └── MainActivity.kt
│ │ └── res
│ │ ├── drawable-v24
│ │ └── ic_launcher_foreground.xml
│ │ ├── drawable
│ │ └── ic_launcher_background.xml
│ │ ├── layout
│ │ ├── activity_main.xml
│ │ └── fragment_blank.xml
│ │ ├── mipmap-anydpi-v26
│ │ ├── ic_launcher.xml
│ │ └── ic_launcher_round.xml
│ │ ├── mipmap-hdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-mdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xhdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xxhdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xxxhdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ └── values
│ │ ├── colors.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── settings.gradle
└── versions.gradle
├── WorkManagerMultiprocessSample
├── .gitignore
├── README.md
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── example
│ │ │ └── background
│ │ │ └── multiprocess
│ │ │ ├── ExampleRemoteCoroutineWorker.kt
│ │ │ ├── ExampleRemoteListenableWorker.java
│ │ │ ├── MainActivity.kt
│ │ │ ├── RemoteWorkerService2.kt
│ │ │ └── TestApplication.kt
│ │ └── res
│ │ ├── drawable-v24
│ │ └── ic_launcher_foreground.xml
│ │ ├── drawable
│ │ └── ic_launcher_background.xml
│ │ ├── layout
│ │ └── activity_main.xml
│ │ ├── mipmap-anydpi-v26
│ │ ├── ic_launcher.xml
│ │ └── ic_launcher_round.xml
│ │ ├── mipmap-hdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-mdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xhdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xxhdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xxxhdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── values-night
│ │ └── themes.xml
│ │ └── values
│ │ ├── colors.xml
│ │ ├── strings.xml
│ │ └── themes.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── settings.gradle
└── versions.gradle
├── WorkManagerSample
├── .gitignore
├── ASSETS_LICENSE.md
├── README.md
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ ├── assets
│ │ │ └── test_outputs
│ │ │ │ └── grayscale.png
│ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── background
│ │ │ ├── ImageOperationsTest.kt
│ │ │ └── TestLifeCycleOwner.kt
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── assets
│ │ └── images
│ │ │ ├── jack_beach.jpg
│ │ │ ├── jack_blur.jpg
│ │ │ ├── jack_road.jpg
│ │ │ ├── jetpack.png
│ │ │ ├── lit_pier.jpg
│ │ │ ├── parting_ways.jpg
│ │ │ └── wrong_way.jpg
│ │ ├── java
│ │ └── com
│ │ │ └── example
│ │ │ └── background
│ │ │ ├── App.kt
│ │ │ ├── FilterActivity.kt
│ │ │ ├── FilterViewModel.kt
│ │ │ ├── SelectImageActivity.kt
│ │ │ └── StockImages.kt
│ │ └── res
│ │ ├── drawable-v24
│ │ └── ic_launcher_foreground.xml
│ │ ├── drawable
│ │ └── ic_launcher_background.xml
│ │ ├── layout
│ │ ├── activity_filter.xml
│ │ └── activity_select.xml
│ │ ├── mipmap-anydpi-v26
│ │ ├── ic_launcher.xml
│ │ └── ic_launcher_round.xml
│ │ ├── mipmap-hdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-mdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xhdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xxhdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xxxhdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ └── values
│ │ ├── colors.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── benchmark
│ ├── .gitignore
│ ├── benchmark-proguard-rules.pro
│ ├── build.gradle
│ └── src
│ │ ├── androidTest
│ │ ├── AndroidManifest.xml
│ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── benchmark
│ │ │ └── WorkerBenchmark.kt
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ └── assets
│ │ └── images
│ │ └── jetpack.png
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── lib
│ ├── .gitignore
│ ├── build.gradle
│ └── src
│ │ ├── androidTest
│ │ ├── assets
│ │ │ └── watson.jpg
│ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── background
│ │ │ └── workers
│ │ │ ├── CleanupWorkerTest.kt
│ │ │ └── filters
│ │ │ └── BaseFilterWorkerTest.kt
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── example
│ │ │ └── background
│ │ │ ├── Constants.kt
│ │ │ ├── ImageOperations.kt
│ │ │ ├── imgur
│ │ │ ├── ImgurApi.kt
│ │ │ ├── ImgurService.kt
│ │ │ └── PostImageResponse.kt
│ │ │ └── workers
│ │ │ ├── CleanupWorker.kt
│ │ │ ├── NotificationUtils.kt
│ │ │ ├── RenameWorkerFactory.kt
│ │ │ ├── SaveImageToGalleryWorker.kt
│ │ │ ├── UploadWorker.kt
│ │ │ └── filters
│ │ │ ├── BaseFilterWorker.kt
│ │ │ ├── BlurEffectFilterWorker.kt
│ │ │ ├── GrayScaleFilterWorker.kt
│ │ │ └── WaterColorFilterWorker.kt
│ │ ├── res
│ │ ├── drawable-hdpi
│ │ │ └── baseline_gradient.png
│ │ ├── drawable-mdpi
│ │ │ └── baseline_gradient.png
│ │ ├── drawable-xhdpi
│ │ │ └── baseline_gradient.png
│ │ ├── drawable-xxhdpi
│ │ │ └── baseline_gradient.png
│ │ ├── drawable-xxxhdpi
│ │ │ └── baseline_gradient.png
│ │ ├── drawable
│ │ │ └── baseline_gradient.xml
│ │ └── values
│ │ │ └── strings.xml
│ │ └── rs
│ │ ├── grayscale.rs
│ │ └── waterColorEffect.rs
├── settings.gradle
└── versions.gradle
├── gradle-wrapper.properties
├── gradle
└── wrapper
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── run_all_tests.sh
├── scripts
└── checksum.sh
├── test_all_ftl.sh
├── update_versions.sh
└── versions.gradle
/.github/ISSUE_TEMPLATE/config.yml:
--------------------------------------------------------------------------------
1 | blank_issues_enabled: false
2 | contact_links:
3 | - name: Lifecycle
4 | url: https://issuetracker.google.com/issues/new?component=413132&template=1096619
5 | about: File a bug or feature request for Lifecycle
6 | - name: Navigation
7 | url: https://issuetracker.google.com/issues/new?component=409828&template=1093757
8 | about: File a bug or feature request for Navigation or SafeArgs
9 | - name: Paging
10 | url: https://issuetracker.google.com/issues/new?component=413106&template=1096385
11 | about: File a bug or feature request for Paging
12 | - name: Room
13 | url: https://issuetracker.google.com/issues/new?component=413107&template=1096568
14 | about: File a bug or feature request for Room
15 | - name: WorkManager
16 | url: https://issuetracker.google.com/issues/new?component=409906&template=1094197
17 | about: File a bug or feature request for WorkManager
18 |
--------------------------------------------------------------------------------
/.github/ci-gradle.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2022 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | org.gradle.daemon=false
18 | org.gradle.parallel=true
19 | org.gradle.jvmargs=-Xmx5120m
20 | org.gradle.workers.max=2
21 |
22 | kotlin.incremental=false
23 | kotlin.compiler.execution.strategy=in-process
24 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .idea
3 | .gradle
4 | /local.properties
5 | .DS_Store
6 | build/
7 | /captures
8 | .externalNativeBuild
9 |
--------------------------------------------------------------------------------
/BasicRxJavaSample/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/BasicRxJavaSample/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/BasicRxJavaSample/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/florinam/Library/Android/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
19 | # Uncomment this to preserve the line number information for
20 | # debugging stack traces.
21 | #-keepattributes SourceFile,LineNumberTable
22 |
23 | # If you keep the line number information, uncomment this to
24 | # hide the original source file name.
25 | #-renamesourcefileattribute SourceFile
26 |
--------------------------------------------------------------------------------
/BasicRxJavaSample/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicRxJavaSample/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/BasicRxJavaSample/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicRxJavaSample/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/BasicRxJavaSample/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicRxJavaSample/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/BasicRxJavaSample/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicRxJavaSample/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/BasicRxJavaSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicRxJavaSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/BasicRxJavaSample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicRxJavaSample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/BasicRxJavaSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicRxJavaSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/BasicRxJavaSample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicRxJavaSample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/BasicRxJavaSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicRxJavaSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/BasicRxJavaSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicRxJavaSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/BasicRxJavaSample/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/BasicRxJavaSample/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | BasicRxJavaSample
3 | Update username
4 |
5 |
--------------------------------------------------------------------------------
/BasicRxJavaSample/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/BasicRxJavaSample/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | apply from: 'versions.gradle'
5 | addRepos(repositories)
6 | dependencies {
7 | classpath deps.android_gradle_plugin
8 |
9 | // NOTE: Do not place your application dependencies here; they belong
10 | // in the individual module build.gradle files
11 | }
12 | }
13 |
14 | allprojects {
15 | addRepos(repositories)
16 | }
17 |
18 | task clean(type: Delete) {
19 | delete rootProject.buildDir
20 | }
--------------------------------------------------------------------------------
/BasicRxJavaSample/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | org.gradle.jvmargs=-Xmx1536m
13 |
14 | # When configured, Gradle will run in incubating parallel mode.
15 | # This option should only be used with decoupled projects. More details, visit
16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17 | # org.gradle.parallel=true
18 | android.useAndroidX=true
19 | android.enableJetifier=true
20 |
--------------------------------------------------------------------------------
/BasicRxJavaSample/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicRxJavaSample/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/BasicRxJavaSample/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2018 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | #Thu Feb 22 10:53:38 GMT 2018
18 | distributionBase=GRADLE_USER_HOME
19 | distributionPath=wrapper/dists
20 | zipStoreBase=GRADLE_USER_HOME
21 | zipStorePath=wrapper/dists
22 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
23 |
--------------------------------------------------------------------------------
/BasicRxJavaSample/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/BasicRxJavaSampleKotlin/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | .idea
5 | /.idea/workspace.xml
6 | /.idea/libraries
7 | .DS_Store
8 | /build
9 | /captures
10 | .externalNativeBuild
11 | .idea/
12 |
--------------------------------------------------------------------------------
/BasicRxJavaSampleKotlin/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/BasicRxJavaSampleKotlin/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/florinam/Library/Android/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
19 | # Uncomment this to preserve the line number information for
20 | # debugging stack traces.
21 | #-keepattributes SourceFile,LineNumberTable
22 |
23 | # If you keep the line number information, uncomment this to
24 | # hide the original source file name.
25 | #-renamesourcefileattribute SourceFile
26 |
--------------------------------------------------------------------------------
/BasicRxJavaSampleKotlin/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicRxJavaSampleKotlin/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/BasicRxJavaSampleKotlin/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicRxJavaSampleKotlin/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/BasicRxJavaSampleKotlin/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicRxJavaSampleKotlin/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/BasicRxJavaSampleKotlin/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicRxJavaSampleKotlin/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/BasicRxJavaSampleKotlin/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicRxJavaSampleKotlin/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/BasicRxJavaSampleKotlin/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicRxJavaSampleKotlin/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/BasicRxJavaSampleKotlin/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicRxJavaSampleKotlin/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/BasicRxJavaSampleKotlin/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicRxJavaSampleKotlin/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/BasicRxJavaSampleKotlin/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicRxJavaSampleKotlin/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/BasicRxJavaSampleKotlin/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicRxJavaSampleKotlin/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/BasicRxJavaSampleKotlin/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/BasicRxJavaSampleKotlin/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | BasicRxJavaSampleKotlin
3 | Update username
4 |
5 |
--------------------------------------------------------------------------------
/BasicRxJavaSampleKotlin/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/BasicRxJavaSampleKotlin/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | org.gradle.jvmargs=-Xmx1536m
13 |
14 | # When configured, Gradle will run in incubating parallel mode.
15 | # This option should only be used with decoupled projects. More details, visit
16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17 | # org.gradle.parallel=true
18 | android.useAndroidX=true
19 | android.enableJetifier=true
20 |
--------------------------------------------------------------------------------
/BasicRxJavaSampleKotlin/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicRxJavaSampleKotlin/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/BasicRxJavaSampleKotlin/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2018 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | #Thu Feb 22 10:53:38 GMT 2018
18 | distributionBase=GRADLE_USER_HOME
19 | distributionPath=wrapper/dists
20 | zipStoreBase=GRADLE_USER_HOME
21 | zipStorePath=wrapper/dists
22 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
23 |
--------------------------------------------------------------------------------
/BasicRxJavaSampleKotlin/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/BasicSample/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .idea
3 | .gradle
4 | /local.properties
5 | .DS_Store
6 | build/
7 | /captures
8 | .externalNativeBuild
9 |
--------------------------------------------------------------------------------
/BasicSample/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /usr/local/google/home/jalc/sw/android-sdks/android-sdk-linux/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/BasicSample/app/src/main/java/com/example/android/persistence/model/Comment.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2017, The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.example.android.persistence.model;
18 |
19 | import java.util.Date;
20 |
21 | public interface Comment {
22 | int getId();
23 | int getProductId();
24 | String getText();
25 | Date getPostedAt();
26 | }
27 |
--------------------------------------------------------------------------------
/BasicSample/app/src/main/java/com/example/android/persistence/model/Product.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2017, The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.example.android.persistence.model;
18 |
19 | public interface Product {
20 | int getId();
21 | String getName();
22 | String getDescription();
23 | int getPrice();
24 | }
25 |
--------------------------------------------------------------------------------
/BasicSample/app/src/main/java/com/example/android/persistence/ui/CommentClickCallback.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2017, The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.example.android.persistence.ui;
18 |
19 | import com.example.android.persistence.model.Comment;
20 |
21 | public interface CommentClickCallback {
22 | void onClick(Comment comment);
23 | }
24 |
--------------------------------------------------------------------------------
/BasicSample/app/src/main/java/com/example/android/persistence/ui/ProductClickCallback.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2017, The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.example.android.persistence.ui;
18 |
19 | import com.example.android.persistence.model.Product;
20 |
21 | public interface ProductClickCallback {
22 | void onClick(Product product);
23 | }
24 |
--------------------------------------------------------------------------------
/BasicSample/app/src/main/res/drawable/ic_search_black_24dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/BasicSample/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicSample/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/BasicSample/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicSample/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/BasicSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/BasicSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/BasicSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/BasicSample/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 | #3F51B5
20 | #303F9F
21 | #FF4081
22 |
23 | #d6d6d6
24 |
25 |
--------------------------------------------------------------------------------
/BasicSample/app/src/main/res/values/product_app.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 | Price: $%d
20 | 100dp
21 |
--------------------------------------------------------------------------------
/BasicSample/docs/images/VM_diagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicSample/docs/images/VM_diagram.png
--------------------------------------------------------------------------------
/BasicSample/docs/images/VM_subscriptions.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicSample/docs/images/VM_subscriptions.png
--------------------------------------------------------------------------------
/BasicSample/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/BasicSample/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/BasicSample/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2018 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | #Thu Feb 22 10:53:38 GMT 2018
18 | distributionBase=GRADLE_USER_HOME
19 | distributionPath=wrapper/dists
20 | zipStoreBase=GRADLE_USER_HOME
21 | zipStorePath=wrapper/dists
22 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
23 |
--------------------------------------------------------------------------------
/BasicSample/settings.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2017, The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | include ':app'
18 |
--------------------------------------------------------------------------------
/GithubBrowserSample/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .idea
3 | .gradle
4 | /local.properties
5 | .DS_Store
6 | build/
7 | /captures
8 | .externalNativeBuild
9 | app/build
10 | build
11 |
--------------------------------------------------------------------------------
/GithubBrowserSample/app/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea
5 | /.idea/workspace.xml
6 | /.idea/libraries
7 | .DS_Store
8 | /build
9 | /captures
10 |
--------------------------------------------------------------------------------
/GithubBrowserSample/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/yboyar/android/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
19 | # Uncomment this to preserve the line number information for
20 | # debugging stack traces.
21 | #-keepattributes SourceFile,LineNumberTable
22 |
23 | # If you keep the line number information, uncomment this to
24 | # hide the original source file name.
25 | #-renamesourcefileattribute SourceFile
26 |
--------------------------------------------------------------------------------
/GithubBrowserSample/app/src/androidTest/java/com/android/example/github/TestApp.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2017 The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.android.example.github
18 |
19 | import android.app.Application
20 |
21 | /**
22 | * We use a separate App for tests to prevent initializing dependency injection.
23 | *
24 | * See [com.android.example.github.util.GithubTestRunner].
25 | */
26 | class TestApp : Application()
27 |
--------------------------------------------------------------------------------
/GithubBrowserSample/app/src/main/java/com/android/example/github/di/Injectable.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2017 The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.android.example.github.di
18 |
19 | /**
20 | * Marks an activity / fragment injectable.
21 | */
22 | interface Injectable
23 |
--------------------------------------------------------------------------------
/GithubBrowserSample/app/src/main/java/com/android/example/github/ui/common/RetryCallback.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2017 The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.android.example.github.ui.common
18 |
19 | /**
20 | * Generic interface for retry buttons.
21 | */
22 | interface RetryCallback {
23 | fun retry()
24 | }
25 |
--------------------------------------------------------------------------------
/GithubBrowserSample/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/GithubBrowserSample/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/GithubBrowserSample/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/GithubBrowserSample/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/GithubBrowserSample/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/GithubBrowserSample/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/GithubBrowserSample/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/GithubBrowserSample/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/GithubBrowserSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/GithubBrowserSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/GithubBrowserSample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/GithubBrowserSample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/GithubBrowserSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/GithubBrowserSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/GithubBrowserSample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/GithubBrowserSample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/GithubBrowserSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/GithubBrowserSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/GithubBrowserSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/GithubBrowserSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/GithubBrowserSample/app/src/main/res/transition/move.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/GithubBrowserSample/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 | #3F51B5
19 | #303F9F
20 | #ff4081
21 |
22 |
--------------------------------------------------------------------------------
/GithubBrowserSample/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 | 64dp
19 | 8dp
20 |
--------------------------------------------------------------------------------
/GithubBrowserSample/app/src/release/java/com/android/example/github/testing/OpenForTesting.kt:
--------------------------------------------------------------------------------
1 | package com.android.example.github.testing
2 |
3 | @Target(AnnotationTarget.CLASS)
4 | annotation class OpenForTesting
5 |
--------------------------------------------------------------------------------
/GithubBrowserSample/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/GithubBrowserSample/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/GithubBrowserSample/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2018 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | #Thu Feb 22 10:53:38 GMT 2018
18 | distributionBase=GRADLE_USER_HOME
19 | distributionPath=wrapper/dists
20 | zipStoreBase=GRADLE_USER_HOME
21 | zipStorePath=wrapper/dists
22 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
23 |
--------------------------------------------------------------------------------
/GithubBrowserSample/lint.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/GithubBrowserSample/settings.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2017 The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | include ':app'
18 |
--------------------------------------------------------------------------------
/LiveDataSample/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/caches
5 | /.idea/libraries
6 | /.idea/modules.xml
7 | /.idea/workspace.xml
8 | /.idea/navEditor.xml
9 | /.idea/assetWizardSettings.xml
10 | .DS_Store
11 | /build
12 | /captures
13 | .externalNativeBuild
14 |
--------------------------------------------------------------------------------
/LiveDataSample/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/LiveDataSample/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
--------------------------------------------------------------------------------
/LiveDataSample/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/LiveDataSample/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/LiveDataSample/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/LiveDataSample/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/LiveDataSample/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/LiveDataSample/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/LiveDataSample/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/LiveDataSample/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/LiveDataSample/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/LiveDataSample/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/LiveDataSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/LiveDataSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/LiveDataSample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/LiveDataSample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/LiveDataSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/LiveDataSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/LiveDataSample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/LiveDataSample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/LiveDataSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/LiveDataSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/LiveDataSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/LiveDataSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/LiveDataSample/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 | #008577
19 | #00574B
20 | #D81B60
21 |
22 |
--------------------------------------------------------------------------------
/LiveDataSample/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/LiveDataSample/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/LiveDataSample/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2018 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | #Thu Feb 22 10:53:38 GMT 2018
18 | distributionBase=GRADLE_USER_HOME
19 | distributionPath=wrapper/dists
20 | zipStoreBase=GRADLE_USER_HOME
21 | zipStorePath=wrapper/dists
22 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
23 |
--------------------------------------------------------------------------------
/LiveDataSample/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/MADSkillsNavigationSample/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea
5 | .DS_Store
6 | /build
7 | /captures
8 | .externalNativeBuild
9 |
--------------------------------------------------------------------------------
/MADSkillsNavigationSample/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
--------------------------------------------------------------------------------
/MADSkillsNavigationSample/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/MADSkillsNavigationSample/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/MADSkillsNavigationSample/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/MADSkillsNavigationSample/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/MADSkillsNavigationSample/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/MADSkillsNavigationSample/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/MADSkillsNavigationSample/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/MADSkillsNavigationSample/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/MADSkillsNavigationSample/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/MADSkillsNavigationSample/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/MADSkillsNavigationSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/MADSkillsNavigationSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/MADSkillsNavigationSample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/MADSkillsNavigationSample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/MADSkillsNavigationSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/MADSkillsNavigationSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/MADSkillsNavigationSample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/MADSkillsNavigationSample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/MADSkillsNavigationSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/MADSkillsNavigationSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/MADSkillsNavigationSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/MADSkillsNavigationSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/MADSkillsNavigationSample/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 | #6200EE
19 | #3700B3
20 | #03DAC5
21 |
22 |
--------------------------------------------------------------------------------
/MADSkillsNavigationSample/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 | 16dp
19 |
20 |
--------------------------------------------------------------------------------
/MADSkillsNavigationSample/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/MADSkillsNavigationSample/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/MADSkillsNavigationSample/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2018 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | #Thu Feb 22 10:53:38 GMT 2018
18 | distributionBase=GRADLE_USER_HOME
19 | distributionPath=wrapper/dists
20 | zipStoreBase=GRADLE_USER_HOME
21 | zipStorePath=wrapper/dists
22 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
23 |
--------------------------------------------------------------------------------
/MADSkillsNavigationSample/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/MADSkillsNavigationSample/screenshot.png
--------------------------------------------------------------------------------
/MADSkillsNavigationSample/settings.gradle:
--------------------------------------------------------------------------------
1 | rootProject.name='Donut Tracker'
2 | include ':app'
3 |
--------------------------------------------------------------------------------
/NavigationAdvancedSample/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea
5 | .DS_Store
6 | /build
7 | /captures
8 | .externalNativeBuild
9 |
--------------------------------------------------------------------------------
/NavigationAdvancedSample/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/NavigationAdvancedSample/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
--------------------------------------------------------------------------------
/NavigationAdvancedSample/app/sampledata/rank.json:
--------------------------------------------------------------------------------
1 | {
2 | "data" :[
3 | { "rank":"#1"},
4 | { "rank":"#2"},
5 | { "rank":"#3"},
6 | { "rank":"#4"},
7 | { "rank":"#5"},
8 | { "rank":"#6"},
9 | { "rank":"#7"},
10 | { "rank":"#8"},
11 | { "rank":"#9"},
12 | { "rank":"#10"}
13 | ]
14 | }
--------------------------------------------------------------------------------
/NavigationAdvancedSample/app/src/main/res/anim/fade_in.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
23 |
24 |
--------------------------------------------------------------------------------
/NavigationAdvancedSample/app/src/main/res/anim/fade_out.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
23 |
24 |
--------------------------------------------------------------------------------
/NavigationAdvancedSample/app/src/main/res/drawable/avatar_1_raster.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationAdvancedSample/app/src/main/res/drawable/avatar_1_raster.png
--------------------------------------------------------------------------------
/NavigationAdvancedSample/app/src/main/res/drawable/avatar_2_raster.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationAdvancedSample/app/src/main/res/drawable/avatar_2_raster.png
--------------------------------------------------------------------------------
/NavigationAdvancedSample/app/src/main/res/drawable/avatar_3_raster.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationAdvancedSample/app/src/main/res/drawable/avatar_3_raster.png
--------------------------------------------------------------------------------
/NavigationAdvancedSample/app/src/main/res/drawable/avatar_4_raster.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationAdvancedSample/app/src/main/res/drawable/avatar_4_raster.png
--------------------------------------------------------------------------------
/NavigationAdvancedSample/app/src/main/res/drawable/avatar_5_raster.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationAdvancedSample/app/src/main/res/drawable/avatar_5_raster.png
--------------------------------------------------------------------------------
/NavigationAdvancedSample/app/src/main/res/drawable/avatar_6_raster.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationAdvancedSample/app/src/main/res/drawable/avatar_6_raster.png
--------------------------------------------------------------------------------
/NavigationAdvancedSample/app/src/main/res/drawable/button_press.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/NavigationAdvancedSample/app/src/main/res/drawable/button_press_dark.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/NavigationAdvancedSample/app/src/main/res/drawable/image_category_entertainment_raster.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationAdvancedSample/app/src/main/res/drawable/image_category_entertainment_raster.png
--------------------------------------------------------------------------------
/NavigationAdvancedSample/app/src/main/res/drawable/rounded_rect.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/NavigationAdvancedSample/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/NavigationAdvancedSample/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/NavigationAdvancedSample/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationAdvancedSample/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/NavigationAdvancedSample/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationAdvancedSample/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/NavigationAdvancedSample/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationAdvancedSample/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/NavigationAdvancedSample/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationAdvancedSample/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/NavigationAdvancedSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationAdvancedSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/NavigationAdvancedSample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationAdvancedSample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/NavigationAdvancedSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationAdvancedSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/NavigationAdvancedSample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationAdvancedSample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/NavigationAdvancedSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationAdvancedSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/NavigationAdvancedSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationAdvancedSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/NavigationAdvancedSample/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 | #008577
20 | #00574B
21 | #7e53c5
22 |
23 |
24 |
--------------------------------------------------------------------------------
/NavigationAdvancedSample/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationAdvancedSample/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/NavigationAdvancedSample/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2018 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | #Thu Feb 22 10:53:38 GMT 2018
18 | distributionBase=GRADLE_USER_HOME
19 | distributionPath=wrapper/dists
20 | zipStoreBase=GRADLE_USER_HOME
21 | zipStorePath=wrapper/dists
22 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
23 |
--------------------------------------------------------------------------------
/NavigationAdvancedSample/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationAdvancedSample/screenshot.png
--------------------------------------------------------------------------------
/NavigationAdvancedSample/settings.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2019, The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | include ':app'
18 |
--------------------------------------------------------------------------------
/NavigationBasicSample/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea
5 | .DS_Store
6 | /build
7 | /captures
8 | .externalNativeBuild
9 |
--------------------------------------------------------------------------------
/NavigationBasicSample/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/NavigationBasicSample/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
--------------------------------------------------------------------------------
/NavigationBasicSample/app/sampledata/rank.json:
--------------------------------------------------------------------------------
1 | {
2 | "data" :[
3 | { "rank":"#1"},
4 | { "rank":"#2"},
5 | { "rank":"#3"},
6 | { "rank":"#4"},
7 | { "rank":"#5"},
8 | { "rank":"#6"},
9 | { "rank":"#7"},
10 | { "rank":"#8"},
11 | { "rank":"#9"},
12 | { "rank":"#10"}
13 | ]
14 | }
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/anim/fade_in.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
23 |
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/anim/fade_out.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
23 |
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/anim/slide_in_left.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
23 |
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/anim/slide_in_right.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
23 |
24 |
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/anim/slide_out_left.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
23 |
24 |
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/anim/slide_out_right.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
23 |
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/drawable/avatar_10_raster.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/drawable/avatar_10_raster.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/drawable/avatar_11_raster.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/drawable/avatar_11_raster.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/drawable/avatar_12_raster.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/drawable/avatar_12_raster.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/drawable/avatar_13_raster.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/drawable/avatar_13_raster.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/drawable/avatar_14_raster.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/drawable/avatar_14_raster.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/drawable/avatar_15_raster.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/drawable/avatar_15_raster.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/drawable/avatar_16_raster.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/drawable/avatar_16_raster.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/drawable/avatar_1_raster.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/drawable/avatar_1_raster.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/drawable/avatar_2_raster.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/drawable/avatar_2_raster.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/drawable/avatar_3_raster.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/drawable/avatar_3_raster.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/drawable/avatar_4_raster.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/drawable/avatar_4_raster.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/drawable/avatar_5_raster.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/drawable/avatar_5_raster.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/drawable/avatar_6_raster.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/drawable/avatar_6_raster.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/drawable/avatar_7_raster.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/drawable/avatar_7_raster.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/drawable/avatar_8_raster.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/drawable/avatar_8_raster.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/drawable/avatar_9_raster.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/drawable/avatar_9_raster.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/drawable/button_press.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/drawable/button_press_dark.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/drawable/icon_category_leaderboard_raster.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/drawable/icon_category_leaderboard_raster.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/drawable/image_category_entertainment_raster.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/drawable/image_category_entertainment_raster.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/drawable/image_category_tvmovies_raster.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/drawable/image_category_tvmovies_raster.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/drawable/mask.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/drawable/rounded_rect.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
20 |
21 |
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 | #008577
20 | #00574B
21 | #7e53c5
22 |
23 |
--------------------------------------------------------------------------------
/NavigationBasicSample/app/src/uiTest/resources/robolectric.properties:
--------------------------------------------------------------------------------
1 | sdk=28
--------------------------------------------------------------------------------
/NavigationBasicSample/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/NavigationBasicSample/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2018 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | #Thu Feb 22 10:53:38 GMT 2018
18 | distributionBase=GRADLE_USER_HOME
19 | distributionPath=wrapper/dists
20 | zipStoreBase=GRADLE_USER_HOME
21 | zipStorePath=wrapper/dists
22 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
23 |
--------------------------------------------------------------------------------
/NavigationBasicSample/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/NavigationBasicSample/screenshot.png
--------------------------------------------------------------------------------
/NavigationBasicSample/settings.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2018 The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | include ':app'
18 |
--------------------------------------------------------------------------------
/PagingSample/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/PagingSample/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/PagingSample/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
--------------------------------------------------------------------------------
/PagingSample/app/src/main/java/paging/android/example/com/pagingsample/Cheese.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2017 The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package paging.android.example.com.pagingsample
18 |
19 | import androidx.room.Entity
20 | import androidx.room.PrimaryKey
21 |
22 | /**
23 | * Data class that represents our items.
24 | */
25 | @Entity
26 | data class Cheese(@PrimaryKey(autoGenerate = true) val id: Int, val name: String)
--------------------------------------------------------------------------------
/PagingSample/app/src/main/java/paging/android/example/com/pagingsample/CheeseListItem.kt:
--------------------------------------------------------------------------------
1 | package paging.android.example.com.pagingsample
2 |
3 | /**
4 | * Common UI model between the [Cheese] data class and separators.
5 | */
6 | sealed class CheeseListItem(val name: String) {
7 | data class Item(val cheese: Cheese) : CheeseListItem(cheese.name)
8 | data class Separator(private val letter: Char) : CheeseListItem(letter.toUpperCase().toString())
9 | }
--------------------------------------------------------------------------------
/PagingSample/app/src/main/java/paging/android/example/com/pagingsample/CheeseViewModelFactory.kt:
--------------------------------------------------------------------------------
1 | package paging.android.example.com.pagingsample
2 |
3 | import android.app.Application
4 | import androidx.lifecycle.ViewModel
5 | import androidx.lifecycle.ViewModelProvider
6 |
7 | /**
8 | * A [ViewModelProvider.Factory] that provides dependencies to [CheeseViewModel],
9 | * allowing tests to switch out [CheeseDao] implementation via constructor injection.
10 | */
11 | class CheeseViewModelFactory(
12 | private val app: Application
13 | ) : ViewModelProvider.Factory {
14 | override fun create(modelClass: Class): T {
15 | if (modelClass.isAssignableFrom(CheeseViewModel::class.java)) {
16 | val cheeseDao = CheeseDb.get(app).cheeseDao()
17 | @Suppress("UNCHECKED_CAST") // Guaranteed to succeed at this point.
18 | return CheeseViewModel(cheeseDao) as T
19 | }
20 |
21 | throw IllegalArgumentException("Unknown ViewModel class")
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/PagingSample/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/PagingSample/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/PagingSample/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingSample/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/PagingSample/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingSample/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/PagingSample/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingSample/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/PagingSample/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingSample/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/PagingSample/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingSample/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/PagingSample/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingSample/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/PagingSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/PagingSample/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingSample/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/PagingSample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingSample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/PagingSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/PagingSample/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingSample/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/PagingSample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingSample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/PagingSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/PagingSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/PagingSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/PagingSample/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 | #3F51B5
20 | #303F9F
21 | #FF4081
22 |
23 |
--------------------------------------------------------------------------------
/PagingSample/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 | 8dp
20 |
--------------------------------------------------------------------------------
/PagingSample/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 | PagingSample
19 | add cheese
20 | add
21 |
22 |
--------------------------------------------------------------------------------
/PagingSample/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingSample/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/PagingSample/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2018 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | #Thu Feb 22 10:53:38 GMT 2018
18 | distributionBase=GRADLE_USER_HOME
19 | distributionPath=wrapper/dists
20 | zipStoreBase=GRADLE_USER_HOME
21 | zipStorePath=wrapper/dists
22 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
23 |
--------------------------------------------------------------------------------
/PagingSample/settings.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2017 The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | include ':app'
18 |
--------------------------------------------------------------------------------
/PagingWithNetworkSample/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/PagingWithNetworkSample/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/PagingWithNetworkSample/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
--------------------------------------------------------------------------------
/PagingWithNetworkSample/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/PagingWithNetworkSample/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/PagingWithNetworkSample/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingWithNetworkSample/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/PagingWithNetworkSample/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingWithNetworkSample/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/PagingWithNetworkSample/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingWithNetworkSample/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/PagingWithNetworkSample/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingWithNetworkSample/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/PagingWithNetworkSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingWithNetworkSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/PagingWithNetworkSample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingWithNetworkSample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/PagingWithNetworkSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingWithNetworkSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/PagingWithNetworkSample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingWithNetworkSample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/PagingWithNetworkSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingWithNetworkSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/PagingWithNetworkSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingWithNetworkSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/PagingWithNetworkSample/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 | #3F51B5
20 | #303F9F
21 | #FF4081
22 |
23 |
--------------------------------------------------------------------------------
/PagingWithNetworkSample/benchmark/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/PagingWithNetworkSample/benchmark/src/androidTest/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
9 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/PagingWithNetworkSample/benchmark/src/androidTest/java/com/example/benchmark/TestExecutor.kt:
--------------------------------------------------------------------------------
1 | package com.example.benchmark
2 |
3 | import java.util.*
4 | import java.util.concurrent.Executor
5 |
6 | /**
7 | * Flushable Executor which retains knowledge of queued tasks for state guarantee while under test.
8 | */
9 | class TestExecutor : Executor {
10 | private val tasks = LinkedList()
11 |
12 | override fun execute(command: Runnable) {
13 | tasks.add(command)
14 | }
15 |
16 | fun flush(): Boolean {
17 | val consumed = !tasks.isEmpty()
18 |
19 | var task = tasks.poll()
20 | while (task != null) {
21 | task.run()
22 | task = tasks.poll()
23 | }
24 | return consumed
25 | }
26 | }
--------------------------------------------------------------------------------
/PagingWithNetworkSample/benchmark/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/PagingWithNetworkSample/benchmark/src/main/res/layout/activity_benchmark.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
13 |
--------------------------------------------------------------------------------
/PagingWithNetworkSample/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingWithNetworkSample/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/PagingWithNetworkSample/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2018 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | #Thu Feb 22 10:53:38 GMT 2018
18 | distributionBase=GRADLE_USER_HOME
19 | distributionPath=wrapper/dists
20 | zipStoreBase=GRADLE_USER_HOME
21 | zipStorePath=wrapper/dists
22 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
23 |
--------------------------------------------------------------------------------
/PagingWithNetworkSample/lib/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/PagingWithNetworkSample/lib/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/PagingWithNetworkSample/lib/src/main/java/com/android/example/paging/pagingwithnetwork/RedditAppGlideModule.kt:
--------------------------------------------------------------------------------
1 | package com.android.example.paging.pagingwithnetwork
2 |
3 | import com.bumptech.glide.annotation.GlideModule
4 | import com.bumptech.glide.module.AppGlideModule
5 |
6 | @GlideModule
7 | class RedditAppGlideModule : AppGlideModule()
--------------------------------------------------------------------------------
/PagingWithNetworkSample/lib/src/main/java/com/android/example/paging/pagingwithnetwork/reddit/ui/PostsLoadStateAdapter.kt:
--------------------------------------------------------------------------------
1 | package com.android.example.paging.pagingwithnetwork.reddit.ui
2 |
3 | import android.view.ViewGroup
4 | import androidx.paging.LoadState
5 | import androidx.paging.LoadStateAdapter
6 |
7 | class PostsLoadStateAdapter(
8 | private val adapter: PostsAdapter
9 | ) : LoadStateAdapter() {
10 | override fun onBindViewHolder(holder: NetworkStateItemViewHolder, loadState: LoadState) {
11 | holder.bindTo(loadState)
12 | }
13 |
14 | override fun onCreateViewHolder(
15 | parent: ViewGroup,
16 | loadState: LoadState
17 | ): NetworkStateItemViewHolder {
18 | return NetworkStateItemViewHolder(parent) { adapter.retry() }
19 | }
20 | }
--------------------------------------------------------------------------------
/PagingWithNetworkSample/lib/src/main/res/drawable-hdpi/ic_insert_photo_black_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingWithNetworkSample/lib/src/main/res/drawable-hdpi/ic_insert_photo_black_48dp.png
--------------------------------------------------------------------------------
/PagingWithNetworkSample/lib/src/main/res/drawable-mdpi/ic_insert_photo_black_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingWithNetworkSample/lib/src/main/res/drawable-mdpi/ic_insert_photo_black_48dp.png
--------------------------------------------------------------------------------
/PagingWithNetworkSample/lib/src/main/res/drawable-xhdpi/ic_insert_photo_black_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingWithNetworkSample/lib/src/main/res/drawable-xhdpi/ic_insert_photo_black_48dp.png
--------------------------------------------------------------------------------
/PagingWithNetworkSample/lib/src/main/res/drawable-xxhdpi/ic_insert_photo_black_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingWithNetworkSample/lib/src/main/res/drawable-xxhdpi/ic_insert_photo_black_48dp.png
--------------------------------------------------------------------------------
/PagingWithNetworkSample/lib/src/main/res/drawable-xxxhdpi/ic_insert_photo_black_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PagingWithNetworkSample/lib/src/main/res/drawable-xxxhdpi/ic_insert_photo_black_48dp.png
--------------------------------------------------------------------------------
/PagingWithNetworkSample/lib/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 | Submitted by %s
19 | Retry
20 |
21 |
--------------------------------------------------------------------------------
/PagingWithNetworkSample/settings.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2017 The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | include ':app', ':lib', ':benchmark'
18 |
--------------------------------------------------------------------------------
/PersistenceContentProviderSample/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/PersistenceContentProviderSample/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/PersistenceContentProviderSample/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /usr/local/google/home/yaraki/Android/Sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
19 | # Uncomment this to preserve the line number information for
20 | # debugging stack traces.
21 | #-keepattributes SourceFile,LineNumberTable
22 |
23 | # If you keep the line number information, uncomment this to
24 | # hide the original source file name.
25 | #-renamesourcefileattribute SourceFile
26 |
--------------------------------------------------------------------------------
/PersistenceContentProviderSample/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PersistenceContentProviderSample/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/PersistenceContentProviderSample/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PersistenceContentProviderSample/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/PersistenceContentProviderSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PersistenceContentProviderSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/PersistenceContentProviderSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PersistenceContentProviderSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/PersistenceContentProviderSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PersistenceContentProviderSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/PersistenceContentProviderSample/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
14 |
15 | #009688
16 | #00796B
17 | #536DFE
18 |
19 |
--------------------------------------------------------------------------------
/PersistenceContentProviderSample/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
14 |
15 | ContentProvider Sample
16 |
17 |
--------------------------------------------------------------------------------
/PersistenceContentProviderSample/build.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2017 The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | buildscript {
18 | apply from: 'versions.gradle'
19 | addRepos(repositories)
20 | dependencies {
21 | classpath deps.android_gradle_plugin
22 | }
23 | }
24 |
25 | allprojects {
26 | addRepos(repositories)
27 | }
28 |
29 | task clean(type: Delete) {
30 | delete rootProject.buildDir
31 | }
32 |
--------------------------------------------------------------------------------
/PersistenceContentProviderSample/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | org.gradle.jvmargs=-Xmx1536m
13 |
14 | # When configured, Gradle will run in incubating parallel mode.
15 | # This option should only be used with decoupled projects. More details, visit
16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17 | # org.gradle.parallel=true
18 | android.useAndroidX=true
19 | android.enableJetifier=true
20 |
--------------------------------------------------------------------------------
/PersistenceContentProviderSample/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PersistenceContentProviderSample/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/PersistenceContentProviderSample/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2018 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | #Thu Feb 22 10:53:38 GMT 2018
18 | distributionBase=GRADLE_USER_HOME
19 | distributionPath=wrapper/dists
20 | zipStoreBase=GRADLE_USER_HOME
21 | zipStorePath=wrapper/dists
22 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
23 |
--------------------------------------------------------------------------------
/PersistenceContentProviderSample/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/PersistenceMigrationsSample/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/PersistenceMigrationsSample/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/PersistenceMigrationsSample/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/florinam/Library/Android/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
19 | # Uncomment this to preserve the line number information for
20 | # debugging stack traces.
21 | #-keepattributes SourceFile,LineNumberTable
22 |
23 | # If you keep the line number information, uncomment this to
24 | # hide the original source file name.
25 | #-renamesourcefileattribute SourceFile
26 |
--------------------------------------------------------------------------------
/PersistenceMigrationsSample/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PersistenceMigrationsSample/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/PersistenceMigrationsSample/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PersistenceMigrationsSample/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/PersistenceMigrationsSample/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PersistenceMigrationsSample/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/PersistenceMigrationsSample/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PersistenceMigrationsSample/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/PersistenceMigrationsSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PersistenceMigrationsSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/PersistenceMigrationsSample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PersistenceMigrationsSample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/PersistenceMigrationsSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PersistenceMigrationsSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/PersistenceMigrationsSample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PersistenceMigrationsSample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/PersistenceMigrationsSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PersistenceMigrationsSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/PersistenceMigrationsSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PersistenceMigrationsSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/PersistenceMigrationsSample/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 | #3F51B5
20 | #303F9F
21 | #FF4081
22 |
23 |
--------------------------------------------------------------------------------
/PersistenceMigrationsSample/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 | Persistence Migrations Sample
19 | Update username
20 |
21 |
--------------------------------------------------------------------------------
/PersistenceMigrationsSample/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | apply from: 'versions.gradle'
5 | addRepos(repositories)
6 |
7 | dependencies {
8 | classpath deps.android_gradle_plugin
9 | }
10 | }
11 |
12 | allprojects {
13 | addRepos(repositories)
14 | }
15 |
16 | task clean(type: Delete) {
17 | delete rootProject.buildDir
18 | }
19 |
--------------------------------------------------------------------------------
/PersistenceMigrationsSample/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | org.gradle.jvmargs=-Xmx1536m
13 |
14 | # When configured, Gradle will run in incubating parallel mode.
15 | # This option should only be used with decoupled projects. More details, visit
16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17 | # org.gradle.parallel=true
18 | android.useAndroidX=true
19 | android.enableJetifier=true
20 |
--------------------------------------------------------------------------------
/PersistenceMigrationsSample/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/PersistenceMigrationsSample/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/PersistenceMigrationsSample/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2018 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | #Thu Feb 22 10:53:38 GMT 2018
18 | distributionBase=GRADLE_USER_HOME
19 | distributionPath=wrapper/dists
20 | zipStoreBase=GRADLE_USER_HOME
21 | zipStorePath=wrapper/dists
22 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
23 |
--------------------------------------------------------------------------------
/PersistenceMigrationsSample/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/ViewBindingSample/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/caches
5 | /.idea/libraries
6 | /.idea/modules.xml
7 | /.idea/workspace.xml
8 | /.idea/navEditor.xml
9 | /.idea/assetWizardSettings.xml
10 | .DS_Store
11 | /build
12 | /captures
13 | .externalNativeBuild
14 | .cxx
15 |
--------------------------------------------------------------------------------
/ViewBindingSample/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/ViewBindingSample/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
--------------------------------------------------------------------------------
/ViewBindingSample/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/ViewBindingSample/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/ViewBindingSample/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/ViewBindingSample/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/ViewBindingSample/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/ViewBindingSample/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/ViewBindingSample/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/ViewBindingSample/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/ViewBindingSample/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/ViewBindingSample/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/ViewBindingSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/ViewBindingSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/ViewBindingSample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/ViewBindingSample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/ViewBindingSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/ViewBindingSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/ViewBindingSample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/ViewBindingSample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/ViewBindingSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/ViewBindingSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/ViewBindingSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/ViewBindingSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/ViewBindingSample/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 | #6200EE
20 | #3700B3
21 | #03DAC5
22 |
23 |
--------------------------------------------------------------------------------
/ViewBindingSample/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/ViewBindingSample/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/ViewBindingSample/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2018 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | #Thu Feb 22 10:53:38 GMT 2018
18 | distributionBase=GRADLE_USER_HOME
19 | distributionPath=wrapper/dists
20 | zipStoreBase=GRADLE_USER_HOME
21 | zipStorePath=wrapper/dists
22 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
23 |
--------------------------------------------------------------------------------
/ViewBindingSample/settings.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2020 The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | include ':app'
18 | rootProject.name = "ViewBindingSample"
--------------------------------------------------------------------------------
/WorkManagerMultiprocessSample/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/caches
5 | /.idea/libraries
6 | /.idea/modules.xml
7 | /.idea/workspace.xml
8 | /.idea/navEditor.xml
9 | /.idea/assetWizardSettings.xml
10 | .DS_Store
11 | /build
12 | /captures
13 | .externalNativeBuild
14 | .cxx
15 | local.properties
16 |
--------------------------------------------------------------------------------
/WorkManagerMultiprocessSample/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
--------------------------------------------------------------------------------
/WorkManagerMultiprocessSample/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
--------------------------------------------------------------------------------
/WorkManagerMultiprocessSample/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/WorkManagerMultiprocessSample/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/WorkManagerMultiprocessSample/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerMultiprocessSample/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/WorkManagerMultiprocessSample/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerMultiprocessSample/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/WorkManagerMultiprocessSample/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerMultiprocessSample/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/WorkManagerMultiprocessSample/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerMultiprocessSample/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/WorkManagerMultiprocessSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerMultiprocessSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/WorkManagerMultiprocessSample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerMultiprocessSample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/WorkManagerMultiprocessSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerMultiprocessSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/WorkManagerMultiprocessSample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerMultiprocessSample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/WorkManagerMultiprocessSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerMultiprocessSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/WorkManagerMultiprocessSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerMultiprocessSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/WorkManagerMultiprocessSample/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 | WorkManagerMultiprocessSample
19 | Start Remote Worker 1
20 | Start Remote Worker 2
21 | Cancel Remote Workers
22 |
--------------------------------------------------------------------------------
/WorkManagerMultiprocessSample/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerMultiprocessSample/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/WorkManagerMultiprocessSample/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2018 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | #Thu Feb 22 10:53:38 GMT 2018
18 | distributionBase=GRADLE_USER_HOME
19 | distributionPath=wrapper/dists
20 | zipStoreBase=GRADLE_USER_HOME
21 | zipStorePath=wrapper/dists
22 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
23 |
--------------------------------------------------------------------------------
/WorkManagerMultiprocessSample/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 | rootProject.name = "WorkManagerMultiprocessSample"
--------------------------------------------------------------------------------
/WorkManagerSample/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 | secrets.txt
11 | .settings/
12 | app/release/
--------------------------------------------------------------------------------
/WorkManagerSample/ASSETS_LICENSE.md:
--------------------------------------------------------------------------------
1 | ## Assets License
2 |
3 | * `src/main/assets/images/lit_pier.jpg` courtesy [Romain Guy](https://www.flickr.com/photos/romainguy/)
4 | under [CC-2](https://creativecommons.org/licenses/by/2.0/).
5 | * `src/main/assets/images/parting_ways.jpg` courtesy [Romain Guy](https://www.flickr.com/photos/romainguy/)
6 | under [CC-2](https://creativecommons.org/licenses/by/2.0/).
7 | * `src/main/assets/images/wrong_way.jpg` courtesy [Romain Guy](https://www.flickr.com/photos/romainguy/)
8 | under [CC-2](https://creativecommons.org/licenses/by/2.0/).
9 |
--------------------------------------------------------------------------------
/WorkManagerSample/app/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .idea
3 | .gradle
4 | /local.properties
5 | .DS_Store
6 | build/
7 | /captures
8 | .externalNativeBuild
9 | app/build
10 | build
11 | secrets.txt
12 |
--------------------------------------------------------------------------------
/WorkManagerSample/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
23 | -dontwarn okhttp3.**
24 | -dontwarn okio.**
25 | -dontwarn retrofit2.**
26 |
--------------------------------------------------------------------------------
/WorkManagerSample/app/src/androidTest/assets/test_outputs/grayscale.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerSample/app/src/androidTest/assets/test_outputs/grayscale.png
--------------------------------------------------------------------------------
/WorkManagerSample/app/src/main/assets/images/jack_beach.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerSample/app/src/main/assets/images/jack_beach.jpg
--------------------------------------------------------------------------------
/WorkManagerSample/app/src/main/assets/images/jack_blur.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerSample/app/src/main/assets/images/jack_blur.jpg
--------------------------------------------------------------------------------
/WorkManagerSample/app/src/main/assets/images/jack_road.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerSample/app/src/main/assets/images/jack_road.jpg
--------------------------------------------------------------------------------
/WorkManagerSample/app/src/main/assets/images/jetpack.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerSample/app/src/main/assets/images/jetpack.png
--------------------------------------------------------------------------------
/WorkManagerSample/app/src/main/assets/images/lit_pier.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerSample/app/src/main/assets/images/lit_pier.jpg
--------------------------------------------------------------------------------
/WorkManagerSample/app/src/main/assets/images/parting_ways.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerSample/app/src/main/assets/images/parting_ways.jpg
--------------------------------------------------------------------------------
/WorkManagerSample/app/src/main/assets/images/wrong_way.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerSample/app/src/main/assets/images/wrong_way.jpg
--------------------------------------------------------------------------------
/WorkManagerSample/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/WorkManagerSample/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/WorkManagerSample/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerSample/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/WorkManagerSample/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerSample/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/WorkManagerSample/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerSample/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/WorkManagerSample/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerSample/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/WorkManagerSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/WorkManagerSample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerSample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/WorkManagerSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/WorkManagerSample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerSample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/WorkManagerSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/WorkManagerSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/WorkManagerSample/benchmark/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/WorkManagerSample/benchmark/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/WorkManagerSample/benchmark/src/main/assets/images/jetpack.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerSample/benchmark/src/main/assets/images/jetpack.png
--------------------------------------------------------------------------------
/WorkManagerSample/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerSample/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/WorkManagerSample/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2018 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | #Thu Feb 22 10:53:38 GMT 2018
18 | distributionBase=GRADLE_USER_HOME
19 | distributionPath=wrapper/dists
20 | zipStoreBase=GRADLE_USER_HOME
21 | zipStorePath=wrapper/dists
22 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
23 |
--------------------------------------------------------------------------------
/WorkManagerSample/lib/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/WorkManagerSample/lib/src/androidTest/assets/watson.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerSample/lib/src/androidTest/assets/watson.jpg
--------------------------------------------------------------------------------
/WorkManagerSample/lib/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/WorkManagerSample/lib/src/main/res/drawable-hdpi/baseline_gradient.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerSample/lib/src/main/res/drawable-hdpi/baseline_gradient.png
--------------------------------------------------------------------------------
/WorkManagerSample/lib/src/main/res/drawable-mdpi/baseline_gradient.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerSample/lib/src/main/res/drawable-mdpi/baseline_gradient.png
--------------------------------------------------------------------------------
/WorkManagerSample/lib/src/main/res/drawable-xhdpi/baseline_gradient.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerSample/lib/src/main/res/drawable-xhdpi/baseline_gradient.png
--------------------------------------------------------------------------------
/WorkManagerSample/lib/src/main/res/drawable-xxhdpi/baseline_gradient.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerSample/lib/src/main/res/drawable-xxhdpi/baseline_gradient.png
--------------------------------------------------------------------------------
/WorkManagerSample/lib/src/main/res/drawable-xxxhdpi/baseline_gradient.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/WorkManagerSample/lib/src/main/res/drawable-xxxhdpi/baseline_gradient.png
--------------------------------------------------------------------------------
/WorkManagerSample/lib/src/main/res/drawable/baseline_gradient.xml:
--------------------------------------------------------------------------------
1 |
7 |
10 |
11 |
--------------------------------------------------------------------------------
/WorkManagerSample/lib/src/main/rs/grayscale.rs:
--------------------------------------------------------------------------------
1 | #pragma version(1)
2 | #pragma rs java_package_name(com.example.background)
3 |
4 | rs_allocation in;
5 | rs_allocation out;
6 | rs_script script;
7 |
8 | uint32_t width;
9 | uint32_t height;
10 |
11 | void root(const uchar4* v_in, uchar4* v_out, const void* usrData, uint32_t x, uint32_t y) {
12 | int r = v_in->r;
13 | int g = v_in->g;
14 | int b = v_in->b;
15 | int gray = (r+g+b)/3;
16 | v_out->r = gray;
17 | v_out->g = gray;
18 | v_out->b = gray;
19 | v_out->a = v_in->a;
20 | }
21 |
22 | void filter() {
23 | rsDebug("Processing image with dimensions for grayscale", width, height);
24 | rsForEach(script, in, out);
25 | }
26 |
--------------------------------------------------------------------------------
/WorkManagerSample/settings.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2018 The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | include ':app', ':benchmark', ':lib'
18 |
--------------------------------------------------------------------------------
/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2018 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | #Thu Feb 22 10:53:38 GMT 2018
18 | distributionBase=GRADLE_USER_HOME
19 | distributionPath=wrapper/dists
20 | zipStoreBase=GRADLE_USER_HOME
21 | zipStorePath=wrapper/dists
22 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
23 |
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/android/architecture-components-samples/e849ce3004ccd1132a121cf513bbcb7996d95c30/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2018 The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | #Thu Feb 22 10:53:38 GMT 2018
18 | distributionBase=GRADLE_USER_HOME
19 | distributionPath=wrapper/dists
20 | zipStoreBase=GRADLE_USER_HOME
21 | zipStorePath=wrapper/dists
22 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
23 |
--------------------------------------------------------------------------------
/run_all_tests.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | current_dir=$PWD;
3 | for line in `find . -name 'gradlew'`
4 | do
5 | cd $current_dir;
6 | echo "will run tests for ${line}";
7 | cd $(dirname "${line}");
8 | pwd
9 | #adb shell input keyevent 82 # unlock device
10 | ./gradlew --no-daemon clean test ;
11 | if [ $? -eq 0 ]
12 | then
13 | echo "tests for ${line} are successful"
14 | else
15 | echo "tests for ${line} FAILED"
16 | exit 1
17 | fi
18 | done
19 |
--------------------------------------------------------------------------------
/update_versions.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # Copies the master versions.gradle file to each sample, to make them
3 | # compatible with Android Studio's "Import sample" feature.
4 | for line in `find . -name 'gradlew'`
5 | do
6 | p=$(dirname "${line}");
7 | echo "Copying versions.gradle -> ${p}";
8 | cp versions.gradle "$p"
9 |
10 | # remove the "ADMIN" line from the samples themselves
11 | extraArg=""
12 | if [[ $OSTYPE == darwin* ]]; then
13 | # The macOS version of sed requires the backup file extension
14 | # to be specified. Linux requires it not to be.
15 | extraArg=".bak"
16 | fi
17 | sed -i $extraArg 's/.*\[ADMIN\].*//' $p/versions.gradle
18 |
19 | cp gradle-wrapper.properties "$p/gradle/wrapper/."
20 | done
21 | # Remove the generated backup files
22 | echo "Removing backup files"
23 |
24 | # ignore output saying backups not found
25 | find . -name '*.bak' | xargs rm 2> /dev/null
26 |
--------------------------------------------------------------------------------