diff options
author | Allan Wang <me@allanwang.ca> | 2017-06-22 16:41:36 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-06-22 16:41:36 -0700 |
commit | 1d1322523492f3cc805d364ca9e3ef9a25b0fbad (patch) | |
tree | c8927af7c3b62f526e2b72ab7ee85e70b4a6d547 /library/src/main | |
parent | d924b60bacab29ea7bc385f8f358871999c6c76b (diff) | |
download | kau-1d1322523492f3cc805d364ca9e3ef9a25b0fbad.tar.gz kau-1d1322523492f3cc805d364ca9e3ef9a25b0fbad.tar.bz2 kau-1d1322523492f3cc805d364ca9e3ef9a25b0fbad.zip |
Refresh adapter on previous
Diffstat (limited to 'library/src/main')
-rw-r--r-- | library/src/main/kotlin/ca/allanwang/kau/kpref/KPrefActivity.kt | 1 |
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) { |