skydoves / Balloon

:balloon: Modernized and sophisticated tooltips, fully customizable with an arrow and animations for Android.
https://skydoves.github.io/libraries/balloon/html/balloon/com.skydoves.balloon/index.html
Apache License 2.0
3.74k stars 291 forks source link

Sequential balloons with ability to go back and forth, and to show more then one View as highlighted #377

Closed chaimgross closed 1 year ago

chaimgross commented 2 years ago

As a developer I would like to be able to use the lib to display an intro for the app first user, where I highlight different parts of home page. I would like to seamlessly go between highlighting different components (without showing the Home Screen in between highlights) and would like the ability for user to go back to previous balloon. I also would like the ability to highlight multiple components simultaneously. I tried managing myself and not using the relay (because with relay can't highlight more then one item, and can't go back), but between dismissing one ballon and showing next the Home Screen flashes and does not look good. Any ideas or recommendations would be appreciated.

skydoves commented 1 year ago

Hey, @chaimgross. I'm so sorry for the delayed response. In the next release, you'll able to use a very nice relay function with Coroutines like the example below:

balloon.awaitAlignTop(anchor)
balloon.awaitAlignBottom(anchor)
..

Thank you for filing this issue!

skydoves commented 1 year ago

The new version 1.6.0 has been released, and you'll be able to achieve this by using await__ methods. Thanks for reporting this issue!