diff --git a/app/build.gradle b/app/build.gradle index 9968bf7..090ab14 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -14,8 +14,8 @@ android { applicationId "com.shuyu.github.kotlin" minSdkVersion 21 targetSdkVersion 27 - versionCode 3 - versionName "1.0.2" + versionCode 4 + versionName "1.0.3" javaCompileOptions { annotationProcessorOptions { includeCompileClasspath = true @@ -34,12 +34,12 @@ android { cppFlags "" } ndk { - abiFilters 'armeabi-v7a', 'x86' + abiFilters 'armeabi-v7a' } } ndk { - abiFilters 'armeabi-v7a', 'x86' + abiFilters 'armeabi-v7a' } } diff --git a/app/src/main/java/com/shuyu/github/kotlin/module/code/CodeDetailFragment.kt b/app/src/main/java/com/shuyu/github/kotlin/module/code/CodeDetailFragment.kt index b9e419f..8f72565 100644 --- a/app/src/main/java/com/shuyu/github/kotlin/module/code/CodeDetailFragment.kt +++ b/app/src/main/java/com/shuyu/github/kotlin/module/code/CodeDetailFragment.kt @@ -2,6 +2,7 @@ package com.shuyu.github.kotlin.module.code import android.arch.lifecycle.Observer import android.arch.lifecycle.ViewModelProvider +import android.arch.lifecycle.ViewModelProviders import android.os.Bundle import android.view.View import com.alibaba.android.arouter.facade.annotation.Autowired @@ -15,6 +16,9 @@ import com.shuyu.github.kotlin.module.ARouterAddress import com.shuyu.github.kotlin.module.base.BaseFragment import kotlinx.android.synthetic.main.fragment_code_detail.* import kotlinx.android.synthetic.main.fragment_repos_readme.* +import org.jetbrains.anko.browse +import org.jetbrains.anko.share +import org.jetbrains.anko.toast import javax.inject.Inject /** diff --git a/app/src/main/java/com/shuyu/github/kotlin/module/repos/readme/ReposReadmeFragment.kt b/app/src/main/java/com/shuyu/github/kotlin/module/repos/readme/ReposReadmeFragment.kt index 7259670..2ef4f36 100644 --- a/app/src/main/java/com/shuyu/github/kotlin/module/repos/readme/ReposReadmeFragment.kt +++ b/app/src/main/java/com/shuyu/github/kotlin/module/repos/readme/ReposReadmeFragment.kt @@ -2,6 +2,7 @@ package com.shuyu.github.kotlin.module.repos.readme import android.arch.lifecycle.Observer import android.arch.lifecycle.ViewModelProvider +import android.arch.lifecycle.ViewModelProviders import android.os.Bundle import android.view.View import com.alibaba.android.arouter.facade.annotation.Autowired