... | ... | @@ -4,22 +4,34 @@ Boom or re-boom BMB programmatically. |
|
|
Check the [demo](https://github.com/Nightonke/BoomMenu/blob/master/app/src/main/java/com/nightonke/boommenusample/ControlActivity.java) for more details.
|
|
|
|
|
|
1. Boom!
|
|
|
|
|
|
```
|
|
|
bmb.boom();
|
|
|
```
|
|
|
2. Re-Boom!
|
|
|
|
|
|
```
|
|
|
bmb.reboom();
|
|
|
```
|
|
|
3. Boom in an instant!
|
|
|
|
|
|
```
|
|
|
bmb.boomImmediately();
|
|
|
```
|
|
|
4. Re-Boom in an instant!
|
|
|
|
|
|
```
|
|
|
bmb.reboomImmediately();
|
|
|
```
|
|
|
5. Boom when BMB is shown!
|
|
|
```
|
|
|
bmb.setAutoBoom(true);
|
|
|
```
|
|
|
Or in .xml:
|
|
|
```
|
|
|
app:bmb_autoBoom="true"
|
|
|
```
|
|
|
6. Boom in an instant when BMB is shown!
|
|
|
```
|
|
|
bmb.setAutoBoomImmediately(true);
|
|
|
```
|
|
|
Or in .xml:
|
|
|
```
|
|
|
app:bmb_autoBoomImmediately="true"
|
|
|
``` |
|
|
\ No newline at end of file |