Skip to content

Commit

Permalink
sample: 升级基础库
Browse files Browse the repository at this point in the history
  • Loading branch information
liangjingkanji committed Jul 2, 2023
1 parent fdc1415 commit 2049aed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ dependencies {
testImplementation "junit:junit:4.13.2"
androidTestImplementation "androidx.test:runner:1.3.0"
androidTestImplementation "androidx.test.espresso:espresso-core:3.3.0"
implementation "androidx.appcompat:appcompat:1.3.1"
implementation "androidx.appcompat:appcompat:1.6.1"
implementation "androidx.core:core-ktx:1.9.0"
implementation "androidx.constraintlayout:constraintlayout:2.0.4"
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
Expand Down Expand Up @@ -87,7 +87,7 @@ dependencies {
implementation 'com.github.liangjingkanji:StatusBar:2.0.2' // 透明状态栏
implementation 'com.github.liangjingkanji:debugkit:1.3.0' // 开发调试窗口工具
implementation "com.github.liangjingkanji:Tooltip:1.2.2" // 吐司工具
implementation 'com.github.liangjingkanji:Engine:0.0.67'
implementation 'com.github.liangjingkanji:Engine:0.0.73'
implementation "com.squareup.okhttp3:mockwebserver:4.10.0"
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.12'
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import androidx.activity.result.contract.ActivityResultContract

class AlbumSelectContract : ActivityResultContract<Unit, AlbumSelectContract.AlbumSelectResult>() {

override fun createIntent(context: Context, input: Unit?): Intent {
override fun createIntent(context: Context, input: Unit): Intent {
val intent = Intent(Intent.ACTION_PICK)
intent.setDataAndType(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, "image/*")
return intent
Expand Down

0 comments on commit 2049aed

Please sign in to comment.