blurkit-android icon indicating copy to clipboard operation
blurkit-android copied to clipboard

Api to set LifecycleOwner for BlurLayout

Open archie94 opened this issue 6 years ago • 0 comments

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

archie94 avatar Aug 02 '19 10:08 archie94