Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

v0.6.0

Choose a tag to compare

@lordcodes lordcodes released this 01 Aug 08:48
· 28 commits to master since this release

Features

  • New constructor that takes a SnackbarParentFinder, which is used to look for a parent view to attach to - allowing fallback parent views when one is not found.
  • Separate callback interfaces rather than needing to override a single class to handle all the different callbacks. E.g. SnackbarShowCallback and SnackbarSwipeDismissCallback.

API Changes

  • SnackbarBuilder.iconMarginStartPixels -> iconMarginStart
  • SnackbarBuilder.iconMarginStart -> iconMarginStartRes
  • SnackbarBuilder.iconMarginEndPixels -> iconMarginEnd
  • SnackbarBuilder.iconMarginEnd -> iconMarginEndRes

Improvements

  • Removed logging from SnackbarCallback.
  • Added code quality checks: CheckStyle, FindBugs and PMD.
  • Reformatted whole project code style.
  • Improved JavaDocs.

Dependencies

  • Updated to target API 24
  • Updated Android support library to v24.1.1