Hi guys ,

I'm building a demo app , where Logged-in user can voteup the "Post" and 
see that post in a "VotedUp List( list of votedup Posts)"

For making List of user's and their post , I used ListView and 
CustomListAdapter .

When logged-in user click on the "voteup" button , I want to make a Post 
request with logged-in user's "userID" and Post's "postID" to the API 
server .

sample Post URL > http://www.api.xxxxx.com/users/
<userID>/post/<postID>/voteup

My Question is how can i " get the "postID" onClick of "VoteUp" button  and 
Post it to the server . "

Below is the list of users with UserName , Post and VoteUp button .

>From User point of view , list of friends with their latest post :
----------------------------------------------------------------------------
 ___
|      | 
|      | Amitesh : Amitesh's latest painting [voteup]
|___ |

 ___
|      | 
|      | Arjun   : Reset fluxbox setting [voteup]
|___ |

 ___
|      |  
|      | Sid     : Ubuntut 12.04 latest update.. [voteup]
|___ |

-------------------------------------------------------------------------------------

Suggestions are most welcome ....

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to