Skip to content

Attach to non-Activity's root view

Compare
Choose a tag to compare
@wmora wmora released this 11 Feb 23:28
· 94 commits to master since this release
  • You can attach a Snackbar to a non-root Activity view. This closes #62 and provides a workaround for #76 and #27. The following methods are now included as part of the SnackbarManager:
    SnackbarManager.show(Snackbar snackbar, ViewGroup parent) and SnackbarManager.show(Snackbar snackbar, ViewGroup parent, boolean usePhoneLayout)
  • Navigation bar handling has been improved. Fixing #45. See #80 for more detail and the latest demo for more detail
  • An EventListenerAdapter is provided to avoid boilerplate code if you only need to override a subset of EventListener. See #81