ANDROID - using RatingBar in ListView to send data at MySQL

旧巷老猫 提交于 2019-12-12 02:22:44

问题


I'm just newbie about Android and sorry if my question is not valuable

i've create a layout like this :

|------------------|
| TextView         | ---> Text obtained from server (id 1)
| * * * * *        | ---> Rating Bar the value
|------------------| ---> ListView
| TextView         | ---> Text obtained from server (id 2)
| * * * * *        | ---> Rating Bar the value 
|------------------| ---> ListView
| TextView         | ---> Text obtained from server (id 3)
| * * * * *        | ---> Rating Bar the value
|                  |
|    |Button|      |
|__________________|

My problem is : how to send all Rating when the RatingBar already got the star using Button

Reference :

  1. Link 1 (i don't know why i should use getView() when i just need to send all rating into server)
  2. Link 2 (tired to find ViewBinder example for my app)
  3. Link 3

The tutorial for RatingBar is so scrimpy on net, so i need help here

来源:https://stackoverflow.com/questions/40862971/android-using-ratingbar-in-listview-to-send-data-at-mysql

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!