diff options
author | Allan Wang <me@allanwang.ca> | 2017-08-02 16:21:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-02 16:21:49 -0700 |
commit | 53382b44bb7ab7ccb559e96fd1f93c47020878ee (patch) | |
tree | 79c1862992f458ac52c1910b3a2e0c01cb7d5a5a /kpref-activity/src | |
parent | 7d894be6de118357ec908d2d171b6152ce67307d (diff) | |
download | kau-53382b44bb7ab7ccb559e96fd1f93c47020878ee.tar.gz kau-53382b44bb7ab7ccb559e96fd1f93c47020878ee.tar.bz2 kau-53382b44bb7ab7ccb559e96fd1f93c47020878ee.zip |
Improve video prefetching (#17)
* Create base activity and add thumbnails to media picker
* Add checker to see if requested permission is inside the manifest
* Add faq parser with tests
* Add kpref testers and expose sp
* Test jitpack sample exclusion
* Test caching
* Improve glide caching
Diffstat (limited to 'kpref-activity/src')
-rw-r--r-- | kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/KPrefActivity.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/KPrefActivity.kt b/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/KPrefActivity.kt index 91c0cf2..4324fd3 100644 --- a/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/KPrefActivity.kt +++ b/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/KPrefActivity.kt @@ -12,6 +12,7 @@ import android.view.animation.Animation import android.view.animation.AnimationUtils import android.widget.FrameLayout import android.widget.ViewAnimator +import ca.allanwang.kau.internal.KauBaseActivity import ca.allanwang.kau.kpref.activity.items.KPrefItemCore import ca.allanwang.kau.ui.views.RippleCanvas import ca.allanwang.kau.ui.widgets.TextSlider @@ -21,7 +22,7 @@ import ca.allanwang.kau.utils.statusBarColor import ca.allanwang.kau.utils.string import com.mikepenz.fastadapter.commons.adapters.FastItemAdapter -abstract class KPrefActivity : AppCompatActivity(), KPrefActivityContract { +abstract class KPrefActivity : KauBaseActivity(), KPrefActivityContract { val adapter: FastItemAdapter<KPrefItemCore> @Suppress("UNCHECKED_CAST") |