florent37 / ViewTooltip

A fluent tooltip for Android
Apache License 2.0
1.08k stars 131 forks source link

Activity needed? #58

Open Duna opened 5 years ago

Duna commented 5 years ago

ViewTooltip .on - the first param needs activity, why? It should be enough the context. Just want my tooltip to be available from a service

florent37 commented 5 years ago

It needs a view, obtained by activity, fragment or dialogfragment

It's because of this dialogfragment I had to add a parameter in the constructor

You can send a pull request adding a constructor using a service and fetching its window