Comments (1)
Unable close service from the inside application without using the close button
You can simply use the built-in function below to stop the bubble inside the app
context.stopService(Intent(context, YourBubbleService::class.java))
If the user calls the floating bubble service before closing the previous floating bubble means a new duplicate bubble will be created automatically
Actually this is my intention from the beginning.
I've upgraded this library, please update to the latest version. After update, you can check if the bubble is running
Boolean isBubbleRunning = FloatingBubbleService.isRunning()
if(isBubbleRunning){
stopService(...)
}else{
startService(...)
}
Thank you for your interest in this library.
from floating-bubble-view.
Related Issues (20)
- Unable to pass parameters to `setupBubble()`/`setupNotificationBuilder()` from `onStartCommand()` HOT 20
- `onUp()` callback is not called if the bubble is quickly released HOT 3
- Bubble displays incorrectly in landscape mode HOT 4
- support multi bubbles HOT 3
- Bubble touch not working properly HOT 20
- Target and compileSdk 34 will lead to fatal error HOT 2
- Bubble resizing on click not working properly HOT 1
- Bubble going to the last position when clicked HOT 6
- Declaring MyClass in a separate file causes the bubble to not show up HOT 7
- opt-in background service termination, close-icon bottom elevation HOT 2
- Close view is buggy HOT 2
- Need to perform some action when view is expended. HOT 2
- Any way to apply custom image bitmap to the floating bubble? HOT 1
- show ExpandedBubble at the position of Bubble when clicked HOT 1
- Minimize bubble outise onCreate service HOT 2
- Fail to use ModalBottomSheet in bubbleCompose HOT 1
- I can't remove background of bubble usign Jetpack compose HOT 1
- Move Bubble to closest corner
- bubble disappear arter call minimize() in expandedBubble's Composable HOT 1
- Unable to interact with other applications while bubbles are expanded
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from floating-bubble-view.