Skip to content

Commit c97e70f

Browse files
committed
up
1 parent 36f424b commit c97e70f

20 files changed

+45
-1
lines changed

core/src/main/java/com/loitp/core/helper/gallery/GalleryCoreSplashActivity.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import android.annotation.SuppressLint
55
import android.content.Intent
66
import android.graphics.Color
77
import android.os.Bundle
8+
import androidx.annotation.Keep
89
import com.loitp.R
910
import com.loitp.annotation.IsFullScreen
1011
import com.loitp.annotation.LogTag
@@ -27,6 +28,7 @@ import com.permissionx.guolindev.PermissionX
2728
* +840766040293
2829
2930
*/
31+
@Keep
3032
@SuppressLint("CustomSplashScreen")
3133
@LogTag("GalleryCoreSplashActivity")
3234
@IsFullScreen(false)

core/src/main/java/com/loitp/core/helper/gallery/album/AlbumAdapter.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import android.graphics.Color
44
import android.graphics.drawable.Drawable
55
import android.view.LayoutInflater
66
import android.view.ViewGroup
7+
import androidx.annotation.Keep
78
import androidx.recyclerview.widget.RecyclerView
89
import com.bumptech.glide.load.DataSource
910
import com.bumptech.glide.load.engine.GlideException
@@ -25,6 +26,7 @@ import com.loitp.restApi.flickr.model.photoSetGetList.Photoset
2526
* +840766040293
2627
2728
*/
29+
@Keep
2830
@LogTag("AlbumAdapter")
2931
class AlbumAdapter(
3032
private val listPhotoSet: List<Photoset>,

core/src/main/java/com/loitp/core/helper/gallery/album/GalleryCoreAlbumActivity.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ import android.content.Intent
55
import android.os.Bundle
66
import android.view.View
77
import android.view.animation.OvershootInterpolator
8+
import androidx.annotation.Keep
89
import androidx.recyclerview.widget.LinearLayoutManager
10+
import com.loitp.R
911
import com.loitp.annotation.IsFullScreen
1012
import com.loitp.annotation.IsSwipeActivity
1113
import com.loitp.annotation.LogTag
@@ -34,6 +36,7 @@ import jp.wasabeef.recyclerview.animators.SlideInRightAnimator
3436
* +840766040293
3537
3638
*/
39+
@Keep
3740
@LogTag("GalleryCoreAlbumActivity")
3841
@IsFullScreen(false)
3942
@IsSwipeActivity(true)
@@ -126,6 +129,7 @@ class GalleryCoreAlbumActivity : BaseActivityFont() {
126129

127130
private fun getListPhotosets() {
128131
binding.progressBar.showProgress()
132+
RestClient.init(getString(R.string.flickr_URL))
129133
val service = RestClient.createService(FlickrService::class.java)
130134
val method = FlickrConst.METHOD_PHOTOSETS_GETLIST
131135
val apiKey = FlickrConst.API_KEY

core/src/main/java/com/loitp/core/helper/gallery/albumOnly/GalleryCorePhotosOnlyActivity.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import android.graphics.Color
66
import android.os.Bundle
77
import android.view.View
88
import android.widget.ImageView
9+
import androidx.annotation.Keep
910
import androidx.recyclerview.widget.LinearLayoutManager
1011
import androidx.recyclerview.widget.RecyclerView
1112
import com.huxq17.download.Pump
@@ -38,6 +39,7 @@ import jp.wasabeef.recyclerview.adapters.SlideInBottomAnimationAdapter
3839
* +840766040293
3940
4041
*/
42+
@Keep
4143
@LogTag("GalleryCorePhotosOnlyActivity")
4244
@IsFullScreen(false)
4345
@IsSwipeActivity(true)

core/src/main/java/com/loitp/core/helper/gallery/albumOnly/GalleryCorePhotosOnlyFrm.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import android.graphics.Color
77
import android.os.Bundle
88
import android.view.View
99
import android.widget.ImageView
10+
import androidx.annotation.Keep
1011
import androidx.recyclerview.widget.LinearLayoutManager
1112
import com.huxq17.download.Pump
1213
import com.huxq17.download.core.DownloadListener
@@ -36,6 +37,7 @@ import kotlinx.android.synthetic.main.l_f_flickr_gallery_core_photos_only.*
3637
* +840766040293
3738
3839
*/
40+
@Keep
3941
@LogTag("GalleryCorePhotosOnlyFrm")
4042
class GalleryCorePhotosOnlyFrm(
4143
private val onTop: ((Unit) -> Unit)? = null,

core/src/main/java/com/loitp/core/helper/gallery/albumOnly/PhotosOnlyAdapter.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import android.graphics.drawable.Drawable
44
import android.view.LayoutInflater
55
import android.view.ViewGroup
66
import android.widget.ImageView
7+
import androidx.annotation.Keep
78
import androidx.core.view.isVisible
89
import androidx.recyclerview.widget.RecyclerView
910
import com.bumptech.glide.load.DataSource
@@ -26,6 +27,7 @@ import java.util.*
2627
* +840766040293
2728
2829
*/
30+
@Keep
2931
@LogTag("PhotosOnlyAdapter")
3032
class PhotosOnlyAdapter(
3133
private val callback: Callback?

core/src/main/java/com/loitp/core/helper/gallery/member/GalleryMemberActivity.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import android.os.Bundle
88
import android.view.View
99
import android.widget.ImageView
1010
import android.widget.TextView
11+
import androidx.annotation.Keep
1112
import androidx.recyclerview.widget.GridLayoutManager
1213
import androidx.recyclerview.widget.RecyclerView
1314
import com.loitp.R
@@ -35,6 +36,7 @@ import jp.wasabeef.recyclerview.adapters.SlideInBottomAnimationAdapter
3536
* +840766040293
3637
3738
*/
39+
@Keep
3840
@LogTag("GalleryMemberActivity")
3941
@IsSwipeActivity(true)
4042
class GalleryMemberActivity : BaseActivityFont() {

core/src/main/java/com/loitp/core/helper/gallery/member/GalleryMemberDetailActivity.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package com.loitp.core.helper.gallery.member
33
import android.graphics.drawable.Drawable
44
import android.os.Bundle
55
import android.view.View
6+
import androidx.annotation.Keep
67
import com.bumptech.glide.load.DataSource
78
import com.bumptech.glide.load.engine.GlideException
89
import com.bumptech.glide.request.RequestListener
@@ -28,6 +29,7 @@ import jp.wasabeef.glide.transformations.BlurTransformation
2829
* +840766040293
2930
3031
*/
32+
@Keep
3133
@LogTag("GalleryMemberDetailActivity")
3234
@IsFullScreen(false)
3335
@IsSwipeActivity(true)

core/src/main/java/com/loitp/core/helper/gallery/member/MemberAdapter.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import android.view.View
66
import android.view.ViewGroup
77
import android.widget.ImageView
88
import android.widget.TextView
9+
import androidx.annotation.Keep
910
import androidx.recyclerview.widget.RecyclerView
1011
import com.bumptech.glide.load.DataSource
1112
import com.bumptech.glide.load.engine.GlideException
@@ -27,6 +28,7 @@ import java.util.*
2728
* +840766040293
2829
2930
*/
31+
@Keep
3032
@LogTag("MemberAdapter")
3133
class MemberAdapter(
3234
private val callback: Callback?

core/src/main/java/com/loitp/core/helper/gallery/photos/GalleryCorePhotosActivity.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import android.annotation.SuppressLint
44
import android.content.Intent
55
import android.os.Bundle
66
import android.view.View
7+
import androidx.annotation.Keep
78
import androidx.recyclerview.widget.GridLayoutManager
89
import androidx.recyclerview.widget.RecyclerView
910
import com.loitp.R
@@ -30,6 +31,7 @@ import jp.wasabeef.recyclerview.adapters.SlideInBottomAnimationAdapter
3031
* +840766040293
3132
3233
*/
34+
@Keep
3335
@LogTag("GalleryCorePhotosActivity")
3436
@IsSwipeActivity(true)
3537
class GalleryCorePhotosActivity : BaseActivityFont() {
@@ -50,6 +52,7 @@ class GalleryCorePhotosActivity : BaseActivityFont() {
5052
binding = LAFlickrGalleryCorePhotosBinding.inflate(layoutInflater)
5153
setContentView(binding.root)
5254

55+
RestClient.init(getString(R.string.flickr_URL))
5356
isValidPackageName()
5457

5558
setupViews()

0 commit comments

Comments
 (0)