Comments (2)
I have made some changes to the onRatingChanged function. it will be called once ratingbar is clicked or drag is released as same as default behaviour of android ratingbar's setOnRatingBarChangeListener interface.
implementation 'com.github.a914-gowtham:compose-ratingbar:1.0.4'
var rating: Float by rememberSaveable { mutableStateOf(initialRating) }
RatingBar(value = rating,onRatingChanged = {
rating=it
//Navigation code
})
from compose-ratingbar.
Yes, you are right. I need to check the possible ways to implement it.
from compose-ratingbar.
Related Issues (20)
- the ability to hide inactive stars HOT 2
- move ratingbar fields to a single class HOT 3
- Add support for RTL layouts HOT 1
- Drag event stops working when touch leaves view HOT 8
- Fix Travis CI command for build HOT 1
- Customisable star shape / icon HOT 2
- ffdf
- HighLighted inactive's boarder thickness
- HighLighted inactive star's boarder thickness HOT 5
- Jfjfnjg HOT 1
- Open HOT 1
- Two panels HOT 1
- Shibuya
- Shibuya HOT 1
- half star HOT 1
- Want to disable rating change when a vertical scroll is performed HOT 4
- On Direction RTL , user unable to select 5th star HOT 1
- Cutom painter recomposition issue HOT 1
- Problem with Modifier.pointerInput HOT 3
- Multiplatform support? HOT 7
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 compose-ratingbar.