Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hantrungkien authored Jul 19, 2018
1 parent 83ddd46 commit 1218c6f
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,16 @@ Kotlin
```kotlin
override fun onResume() {
super.onResume()
if (!picker.isResumed) {
if (!picker.isStarted) {
picker.onResume()
}
}

override fun onPause() {
super.onPause()
picker.onPause()
if (picker.isStarted) {
picker.onPause()
}
}
```

Expand All @@ -98,15 +100,17 @@ Java
@Override
protected void onResume() {
super.onResume();
if (!picker.isResumed()) {
picker.onResume();
if (mBubblePicker.isStarted()) {
mBubblePicker.onResume();
}
}

@Override
protected void onPause() {
super.onPause();
picker.onPause();
if (mBubblePicker.isStarted()) {
mBubblePicker.onPause();
}
}
```

Expand Down

0 comments on commit 1218c6f

Please sign in to comment.