CounterWidget
CounterWidget is an Android widget that displays a counter and provides buttons to increment and decrement its value.
Demo
output.compress-video-online.com.2.mp4
Features
- Displays a counter value on the widget.
- Provides buttons to increment and decrement the counter value.
- Updates the widget UI automatically when the counter value changes.
Dependencies
CounterWidget relies on the following dependencies:
- androidx.compose.ui:ui
- androidx.compose.material:material
- androidx.datastore:datastore
- androidx.glance:glance:1.0.0-alpha05
- androidx.glance:glance-appwidget:1.0.0-alpha05
Make sure these dependencies are added to your app’s build.gradle file.