... | ... | @@ -70,4 +70,15 @@ Get the states of BMB by: |
|
|
```
|
|
|
bmb.isBoomed(); // Whether the BMB is boomed.
|
|
|
bmb.isReBoomed(); // Whether the BMB is re-boomed.
|
|
|
``` |
|
|
\ No newline at end of file |
|
|
```
|
|
|
|
|
|
###Re-boom BMB When Back-Button is Clicked
|
|
|
BMB will re-boom when it's boomed and back-button is clicked. If you don't want this happen:
|
|
|
```
|
|
|
bmb.setBackPressListened(false);
|
|
|
```
|
|
|
Or in xml:
|
|
|
```
|
|
|
app:bmb_backPressListened="false"
|
|
|
```
|
|
|
Notice that BMB will `requestFocus` when it's going to boom. So if you need to take the focus back, you should use `requestFocus` for your own view. |
|
|
\ No newline at end of file |