1. 10 2月, 2020 13 次提交
  2. 08 2月, 2020 1 次提交
  3. 28 1月, 2020 5 次提交
    • J
      Adds View Binding sample to README · 64757856
      Jose Alcérreca 提交于
      64757856
    • J
      New View binding sample (#791) · 5184727b
      Jose Alcérreca 提交于
      * Initial commit ViewBindingSample
      
      * Adds first version of the sample and migrates gradle files to our versioning system
      
      * Updates copyright headers and adds simple UI test
      
      * Adds View Binding sample to circleCI config
      
      * Typing in the wrong window apparently
      
      * Reverts to API 28 for now
      
      * Adds bind API to View Binding sample
      5184727b
    • I
      Avoid multiple concurrent observe() calls with Transformations.switchMap · ea66fae1
      Ian Lake 提交于
      Instead of starting a new `observe` call every time the query button is pressed, we should just update our current source of data by using `Transformations.switchMap`. We store the user's query in a `SavedStateHandle` to ensure that we handle process death and recreation properly (and to take advantage of the `getLiveData()` method to drive our `switchMap`.
      
      Test: tests still pass
      
      Fixes #759
      ea66fae1
    • I
      Fix warnings in BasicSample · 821c5b9f
      Ian Lake 提交于
      - Export the schema
      - Switch to `@SuppressWarnings` to suppress warnings at the compiler level
      - Remove `android.databinding.enableV2=true` since V1 has been removed
      
      Fixes #324
      821c5b9f
    • I
      Add animations to Congratulations screen to Leaderboards · 1a3b72f8
      Ian Lake 提交于
      Fixes #367
      1a3b72f8
  4. 27 1月, 2020 4 次提交
  5. 24 1月, 2020 1 次提交
    • I
      Add dependency on AndroidX Transition 1.3.0 · e571c596
      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
      e571c596
  6. 23 1月, 2020 2 次提交
    • I
      Use SavedStateHandle for SubRedditViewModel · 12e6ee4c
      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
      12e6ee4c
    • I
      Update for Jetpack's Jan 22nd, 2020 release · a72483bf
      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
      a72483bf
  7. 22 1月, 2020 2 次提交
  8. 20 1月, 2020 1 次提交
    • I
      Alphabetize dependencies · eeffc3db
      Ian Lake 提交于
      Sort the dependencies alphabetically to make it more consistent when adding new dependencies.
      
      Test: ./run_all_tests.sh
      eeffc3db
  9. 19 1月, 2020 6 次提交
  10. 10 1月, 2020 3 次提交
  11. 09 1月, 2020 2 次提交