txusballesteros / bubbles-for-android

Bubbles for Android is an Android library to provide chat heads capabilities on your apps. With a fast way to integrate with your development.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage question

Swisyn opened this issue · comments

First of all thanks for sharing this great library!

Let's say, we have an ui which interacts with the user and then user switches to another app but we want that our app must became a bubble and user can use it while in another app just like the messenger app. From the bubble user can generate data or fetch something to views from a web service or something. The question is how can we use bubble layout's views inside the bubble, how can i determine if the user clicks a button inside the bubble? I couldn't see any example in app about this. It generates the bubble that's great but for what purpose?

@Swisyn, you can manage the same way that if you use a normal view. When you inflate your Bubble, you can find your inner views and set the listeners.