1. 24 9月, 2018 1 次提交
  2. 19 7月, 2018 4 次提交
  3. 11 6月, 2018 2 次提交
    • T
    • T
      Convert the project to androidx. (#436) · a208337f
      Takeshi Hagikura 提交于
      * Convert the project to androidx.
      
      Here are the steps I did for the conversion.
      
      Used Android Studio 3.2 canary 17
      
      Auto conversion to androdx
      1. Changed the targetSdkVersion and compileSdkVersion to 28
      2. From Android Studio, navigated to "Refactor -> Refactor to AndroidX"
      
      Manual changes
      1. Trimmed the leading package name (e.g. androidx.recyclerview.widget.RecyclerView -> RecyclerView in files where it's already imported)
      2. Added "androidx.test:rules:1.1.0-alpha3" for a dependency
         (com.android.support.test:runner was there before the conversion, but some classes are now provided by a different dependency like "ActivityTestRule")
      3. In build.gradle files, defined duplicate versions through variables.
         (e.g. 1.0.0-alpha3 for the androidxCoreVersion)
      4. Handled API changes
        - LayoutManager.getChildAt is now nullable
      5. Optimized import order
      
      These issues need be addressed by the conversion tool. I'll file these
      as issues.
      1. double quotations were replaced by single quotations in the dependencies in build.gradle. It's going to be an issue if the versions are defined through variables.
      2. Unneeded leading package names.
          e.g.
      val navigationView: com.google.android.material.navigation.NavigationView = findViewById(R.id.nav_view)
        Should be
      val navigationView: NavigationView = findViewById(R.id.nav_view)
      3. Add a missing dependency automatically? Like androidx.test.rules.
      
      a208337f
  4. 17 5月, 2018 2 次提交
  5. 16 5月, 2018 2 次提交
  6. 14 5月, 2018 1 次提交
  7. 19 3月, 2018 1 次提交
  8. 15 3月, 2018 1 次提交
  9. 08 3月, 2018 1 次提交
  10. 14 2月, 2018 1 次提交
  11. 01 2月, 2018 1 次提交
  12. 05 1月, 2018 3 次提交
  13. 18 12月, 2017 3 次提交
  14. 15 12月, 2017 1 次提交
  15. 30 11月, 2017 2 次提交
  16. 27 9月, 2017 1 次提交
  17. 26 9月, 2017 1 次提交
  18. 25 9月, 2017 1 次提交
  19. 11 9月, 2017 2 次提交
  20. 10 8月, 2017 1 次提交
  21. 08 8月, 2017 3 次提交
  22. 28 7月, 2017 1 次提交
    • T
      Bump up versions of dependencies (#338) · 717a7b45
      Takeshi Hagikura 提交于
      After this change, minSdkVersion is going to be 14 since the support library 26 isn't able to set the minSdkVersion lower than 14.
      
      Also findViewById now requires type inference. Modified the code that uses findViewById.
      717a7b45
  23. 26 7月, 2017 1 次提交
  24. 10 7月, 2017 1 次提交
  25. 05 7月, 2017 1 次提交
  26. 04 7月, 2017 1 次提交