android-target-tooltip icon indicating copy to clipboard operation
android-target-tooltip copied to clipboard

Getting crash while invoking Tooltip class

Open jayakrishnan-salim opened this issue 9 years ago • 1 comments

Hi,

I could use the sample that you have put in the github but when I use this library in my project, I am getting a crash.

I debugged and found that this.mTextView = (TextView)this.mView.findViewById(16908308); (line no 858 in Tooltip.java) statement is returning null. I am using 1.3.12 version.

Let me know if I need to provide further details.

jayakrishnan-salim avatar Jul 16 '16 07:07 jayakrishnan-salim

Debug that you get some view with mView.findViewById(16908308) If you do and get some, see if is a TextView like the cast If not (the most probably) the problem is on your hierachy view, is not a problem of this lib.

Test your viewID (16908308) is correct and check the view you search is a child on mView and not in other view.

Sulfkain avatar Mar 07 '19 09:03 Sulfkain