aboutsummaryrefslogtreecommitdiff
path: root/library/src/main/kotlin/ca/allanwang
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-22 16:41:36 -0700
committerAllan Wang <me@allanwang.ca>2017-06-22 16:41:36 -0700
commit1d1322523492f3cc805d364ca9e3ef9a25b0fbad (patch)
treec8927af7c3b62f526e2b72ab7ee85e70b4a6d547 /library/src/main/kotlin/ca/allanwang
parentd924b60bacab29ea7bc385f8f358871999c6c76b (diff)
downloadkau-1d1322523492f3cc805d364ca9e3ef9a25b0fbad.tar.gz
kau-1d1322523492f3cc805d364ca9e3ef9a25b0fbad.tar.bz2
kau-1d1322523492f3cc805d364ca9e3ef9a25b0fbad.zip
Refresh adapter on previous
Diffstat (limited to 'library/src/main/kotlin/ca/allanwang')
-rw-r--r--library/src/main/kotlin/ca/allanwang/kau/kpref/KPrefActivity.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/src/main/kotlin/ca/allanwang/kau/kpref/KPrefActivity.kt b/library/src/main/kotlin/ca/allanwang/kau/kpref/KPrefActivity.kt
index e4be59b..77bceaf 100644
--- a/library/src/main/kotlin/ca/allanwang/kau/kpref/KPrefActivity.kt
+++ b/library/src/main/kotlin/ca/allanwang/kau/kpref/KPrefActivity.kt
@@ -131,6 +131,7 @@ abstract class KPrefActivity : AppCompatActivity(), KPrefActivityContract {
outAnimation = if (animate) SLIDE_OUT_RIGHT_ITEMS else null
showPrevious()
removeView(current)
+ adapter.notifyAdapterDataSetChanged()
}
titleStack.pop()
with(toolbarTitle) {