'Interaction jetpack compose with bluetooth library
how to use Android Bluetooth api in jetpack compose ? compose need state and Bluetooth api has not compostable function .i mean how to instance state for Bluetooth on and off outside of compose ?
how to use Bluetooth Library like this one in compose ? it has Bluetoothcallback functions that triger when turning on or off Bluetooth , how can i create new callback to read and write from/in compose state ?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|