MCMrARM / revolution-irc

A modern Android IRC client. #revolutionirc on Libera.chat
GNU General Public License v3.0
553 stars 63 forks source link

Update BottomSheetBehavior.setBottomSheetCallback #294

Open kurahaupo opened 3 years ago

kurahaupo commented 3 years ago

It looks like Update BottomSheetBehavior has been updated, deprecating the setBottomSheetCallback method.

From #291 there's a log entry that says:

BottomSheetBehavior  W  BottomSheetBehavior now supports multiple callbacks. `setBottomSheetCallback()` removes all existing callbacks, including ones set
                        internally by library authors, which may result in unintended behavior. This may change in the future. Please use `addBottomSheet
                       Callback()` and `removeBottomSheetCallback()` instead to set your own callbacks.

which seems fairly self-explanatory.

Affected files: