I'm doing simple mail function. I've a list of mails from server. Now, i want to use rating bar for notifying important mail. And, the star must have two function that when the star is enabled it'll set 1 to database and if it's disabled set 0 to datab开发者_运维技巧ase. Is there any possibilities for this method? Help me please? Thanks in advance.
<CheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:button="@android:drawable/btn_star"/>
and here is the fine Tutorial
精彩评论