Click here to Skip to main content
16,019,740 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

In my android application i want to show the data as like below:

ID : 000001
Name : XXXXXX
Description : Hi, network is not working. Please fix immediately.
Date : Thursday, 2014, 11, Dec
Staff : XXXXX

Accept Reject
----------------------------------------------------------------
ID : 000002
Name : XXXXXX
Description : Hi, network is not working. Please fix immediately.
Date : Thursday, 2014, 11, Dec
Staff : XXXXX

Accept Reject
----------------------------------------------------------------

Here Accept and Reject is the button. Data will come from DB. How to bind this data in listview or something as per my expectation. Also default accept and reject button also need to be come each row. While clicking the Accept or Reject button I have to fetch the ID. Please give me some idea. Its very urgent. Advance thanks.
Posted

1 solution

Hi ,

You have to create custom adapter for your list view.

I think this link will help you , please check

LINK
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900