blurkit-android
blurkit-android copied to clipboard
Api to set LifecycleOwner for BlurLayout
Not sure if this change is welcomed. Let me know what you think anyways.
- with the Lifecycle provided by the LifecycleOwner we can remove boilerplate calls to startBlur() and pauseBlur(). BlurLayout will implement LifecycleObserver for this.
- added dependency on android.arch.lifecycle:runtime:1.1.1 for the same
- better not to use this API while using Java 8