Hide ToolTip On Click of Other View
ravirajjak opened this issue · 2 comments
ravirajjak commented
How do I hide the tooltip on Button Click?
florent37 commented
class MyFragment extends ... {
private ViewTooltip.TooltipView tooltip = null;
private View otherView;
public void onCreated(){
...
otherView.setOnClickListener(new View.OnClickListener(){
void onClick(){
tooltip.close();
}
});
}
public void showTooltip(){
tooltip = ViewTooltip
.on(view)
...
.show()
}
}
ravirajjak commented
Thanks Mans. You are great.