New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
it crashes when try to open other activity from tooltip display on a activity and does not close it #6
Comments
I have to fix a similar problem in the past, what version you are using? Could you show the code you are using to create the tooltip? |
the below one , last last provided to me to use from here code using to call tooltip, created a static method and pass and displaying tooltip in fragments and activities :- public static void addToolTipView(Activity activity, View view, String text, int gravity) {
new SimpleTooltip.Builder(activity)
.anchorView(view)
.text(text)
.gravity(gravity)
.transparentOverlay(false)
.backgroundColor(ContextCompat.getColor(activity.getApplicationContext(), R.color.yellow_accent_100))
.arrowColor(ContextCompat.getColor(activity.getApplicationContext(), R.color.yellow_accent_100))
.build()
.show();
} |
OK, thanks for the information. I'll make some tests. Please, could you test with the most recent version? dependencies {
compile 'com.github.douglasjunior:android-simple-tooltip:0.1.1'
} |
still crashing tried new dependency even. with same error stack as given above |
To replicate the problem:
I think that this error occours becouse the |
yes, when activity open new activity, there seems to be view achor or other seems to closed on unrendered. but it happen not during loading activity it working fine during activity load, and display tooltip correctly, just crashes when new activity through any link tried to open without closing currently displaying tooltip. |
i am looking from my end too if i can fix, will inform you if i get some lead in fixing issue, thanks |
Thanks for the information, I think I understand. Then the I had not tried to open the tooltip from the I work with |
@satishkadyan you said the problem happens when opening a new activity without closing the tooltip. But if you touch the screen to open a new I am creating a branch to be able to simulate the problem. In your list, you use |
yes i am using in listview and in adapter as you mentioned. |
@satishkadyan you can create a small project to simulate this problem? |
ok, in weekend will create and provide demo project with problem. |
The text was updated successfully, but these errors were encountered: