Get immediate access to this and 4,000+ other videos and books.

Take your career further with a raywenderlich.com Ultimate Pro subscription. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it’s simply the best investment you can make in your development career.

Build Common UI Components - Part 2 Pro

When building the AddBookReview feature, specifically the RatingBar handler for rating selection, make sure to also add the following line of code to the lambda function: _bookReviewState.value = _bookReviewState.value.copy(rating = newRating). This will store the data within the ReviewState, to save the rating to the database when you finish adding a review.

Build lists of items and common Android components, such as RatingBars, to style your application.

Contributors

Comments