- 28 1月, 2020 1 次提交
-
-
由 Ian Lake 提交于
Fixes #367
-
- 27 1月, 2020 4 次提交
- 24 1月, 2020 1 次提交
-
-
由 Ian Lake 提交于
AndroidX Transition 1.2.0 is required for apps that target API 29 or higher and AndroidX Transition 1.3.0 is needed to take full advantage of the changes in Fragment 1.2.0. Test: ./run_all_tests.sh
-
- 23 1月, 2020 2 次提交
-
-
由 Ian Lake 提交于
Instead of requiring `RedditActivity` to save and restore the selected subreddit, use `SavedStateHandle` and `AbstractSavedStateViewModelFactory` in `SubRedditViewModel` to allow the ViewModel to save and restore its own saved instance state. Test: ./run_all_tests.sh Test: ran PagingWithNetworkSample
-
由 Ian Lake 提交于
- Activity 1.0.0 -> 1.1.0 - Fragment 1.2.0-rc05 -> 1.2.0 - Lifecycle 2.2.0-rc03 -> 2.2.0 - Navigation 2.2.0-rc04 -> 2.2.0 Test: ./run_all_tests.sh
-
- 22 1月, 2020 2 次提交
-
-
由 Ian Lake 提交于
Removes Network Paging sample from CI
-
由 Jose Alcerreca 提交于
-
- 20 1月, 2020 1 次提交
-
-
由 Ian Lake 提交于
Sort the dependencies alphabetically to make it more consistent when adding new dependencies. Test: ./run_all_tests.sh
-
- 19 1月, 2020 6 次提交
-
-
由 Ian Lake 提交于
Make it more clear that each artifact group is independent from one another. Test: ./run_all_tests.sh
-
由 Ian Lake 提交于
Remove the overly broad "support" version and instead provide a separate, explicit version for each group of artifacts. Test: ./run_all_tests.sh
-
由 Ian Lake 提交于
Test: ./run_all_tests.sh
-
由 Ian Lake 提交于
Use its replacement, `androidx.test.ext.junit.runners.AndroidJUnit4` from the `androidx.test.ext:junit` dependency. Test: ./run_all_tests.sh
-
由 Ian Lake 提交于
Instead of requiring each Fragment to redirect `findNavController()` through a `navController()` method that can be overridden in tests, use `Navigation.setViewNavController()` to control what NavController is found by `findNavController()`, allowing us to remove the `@OpenForTesting` annotation on each Fragment and the `navController()` method. Test: Ran the GithubBrowserSample
-
由 Ian Lake 提交于
[Fragment `1.1.0`](https://developer.android.com/jetpack/androidx/releases/fragment#version_110_3) added support for `postponeEnterTransition()` with a timeout, allowing us to avoid needing to directly use `postDelayed`. Test: Ran the GithubBrowserSample
-
- 10 1月, 2020 3 次提交
-
-
由 Ian Lake 提交于
Test: ./run_all_tests.sh
-
由 Ian Lake 提交于
Test: ./run_all_tests.sh
-
由 Ian Lake 提交于
The stated purpose of onActivityCreated() is to wait until the activity is created. That isn't needed here, where what we're actually doing is setting up the binding with the ViewModel, making this more suitable for onViewCreated(). As onActivityCreated() and onViewCreated() happen back to back, there's no actual difference in behavior (just increased clarity on what we're doing).
-
- 09 1月, 2020 10 次提交
-
-
由 Ian Lake 提交于
Provide type safety to map and switchMap methods by using the respective Kotlin extension methods rather than Transformations.map and Transformations.switchMap.
-
由 Ian Lake 提交于
Test: Ran the GithubBrowserSample
-
由 Ian Lake 提交于
Update UserActivity.java
-
由 Ian Lake 提交于
more efficient way of sorting repos
-
由 Ian Lake 提交于
Avoid references to the Fragment's Views after onDestroyView()
-
由 Ian Lake 提交于
After onDestroyView() runs, Fragment's Views are eligible for garbage collection. Ensure that we don't hold onto any references after onDestroyView() to allow for the Views to be garbage collected as soon as possible. For the GithubBrowserSample, this required changing the AutoClearedValue class to clear the backing field when the Fragment's view is destroyed, rather than wait for the Fragment itself to be destroyed. Test: ./run_all_tests.sh
-
由 Ian Lake 提交于
Fix Lint issues
-
由 Ian Lake 提交于
Fix many of the common Lint issues found across the repository. Test: ./run_all_tests.sh
-
由 Ian Lake 提交于
Upgrade AGP, Jetpack versions
-
由 Ian Lake 提交于
Upgrade to the latest releases: - Android Gradle Plugin 3.5.3 - Activity 1.0.0 - Arch Core 2.1.0 - Core-ktx 1.1.0 - Fragment 1.2.0-rc05 - Lifecycle 2.2.0-rc03 - Navigation 2.2.0-rc04 - Room 2.2.3 - Work 2.2.0 Fixes Lint issues where observe() was incorrectly being used with `this` instead of `getViewLifecycleOwner()`. Fixed usage of the deprecated `getSupportLoaderManager()` to use `LoaderManager.getInstance(this)`. Test: ./run_all_tests.sh
-
- 12 12月, 2019 1 次提交
-
-
由 Dustin Lam 提交于
Minor fix for unused variable in test
-
- 26 11月, 2019 2 次提交
-
-
由 Dustin Lam 提交于
Enable new benchmark reporting for non-canary users
-
由 Dustin Lam 提交于
Update benchmark to 1.0.0 stable
-
- 25 11月, 2019 1 次提交
-
-
由 Jose Alcérreca 提交于
-
- 23 11月, 2019 1 次提交
-
-
由 Dustin Lam 提交于
-
- 22 11月, 2019 1 次提交
-
-
由 Dustin Lam 提交于
-
- 19 11月, 2019 2 次提交
-
-
由 Dustin Lam 提交于
Remove local snapshot path that was accidentally committed
-
由 Dustin Lam 提交于
-
- 08 11月, 2019 2 次提交
-
-
由 Dustin Lam 提交于
Fix scroll offset in paging sample
-
由 Dustin Lam 提交于
-