This is the error
Fatal Exception: java.lang.NullPointerException
Attempt to invoke virtual method 'void android.view.View.getLocationInWindow(int[])' on a null object reference
com.wooplr.spotlight.target.ViewTarget.getPoint (ViewTarget.java:23)
com.wooplr.spotlight.shape.Circle.getFocusPoint (Circle.java:36)
com.wooplr.spotlight.shape.Circle. (Circle.java:24)
com.wooplr.spotlight.SpotlightView$Builder.build (SpotlightView.java:1082)
com.wooplr.spotlight.SpotlightView$Builder.show (SpotlightView.java:1091)
What could it be? I haven't put a check if that fragment is currently showing, could that be the problem? Or is it the library? Thank you by the way.
This is the error
Fatal Exception: java.lang.NullPointerException
Attempt to invoke virtual method 'void android.view.View.getLocationInWindow(int[])' on a null object reference
com.wooplr.spotlight.target.ViewTarget.getPoint (ViewTarget.java:23)
com.wooplr.spotlight.shape.Circle.getFocusPoint (Circle.java:36)
com.wooplr.spotlight.shape.Circle. (Circle.java:24)
com.wooplr.spotlight.SpotlightView$Builder.build (SpotlightView.java:1082)
com.wooplr.spotlight.SpotlightView$Builder.show (SpotlightView.java:1091)
What could it be? I haven't put a check if that fragment is currently showing, could that be the problem? Or is it the library? Thank you by the way.