danimahardhika / cafebar

An upgraded Snackbar for Android that provides more options and easy to use
Apache License 2.0
145 stars 23 forks source link

Visibility callback #6

Closed pacoalface closed 6 years ago

pacoalface commented 6 years ago

This PR add Snackbar.Callback() to CafeBar. What makes it possible to handle the view state changes of the component.

Thank you for this repo!

pacoalface commented 6 years ago

Hi @danimahardhika! Looks like travis machine has not accepted the license agreements of the following SDK components: [Android SDK Platform 27].

danimahardhika commented 6 years ago

I won't add this, there are callback for each button.

pacoalface commented 6 years ago

There is a callback for each button, but it is impossible to know if CafeBar has been hidden by swipe.