0

I have a question in android. I am not an android expert. I want to display an employee table data in a list (list view or grid any thing). Not like a table view, the list looks like following. I think for this I need to customize the list view? Is it possible like to have a list view/grid view to customize as following? Please advice. Or any already available open source for this?

      [Reviewer Name (Editable)]       
               Employee Lest           
---------------------------------------
Employee1                    [Click Me]

Male (0)          Female ( )
Salary : [5999 (editable)]
Qualification
[X]BA
[ ]BSc
[ ]Matriculation
[ ]Other
[Submit Button]
---------------------------------------
Employee2                    [Click Me]

Male (0)          Female ( )
Salary : [5999 (editable)]
Qualification
[X]BA
[ ]BSc
[ ]Matriculation
[ ]Other
[Submit Button]
---------------------------------------
Employee3                    [Click Me]

Male (0)          Female ( )
Salary : [5999 (editable)]
Qualification
[X]BA
[ ]BSc
[ ]Matriculation
[ ]Other
[Submit Button]
---------------------------------------
4

2 Answers 2

0

Yes, you need to implement a custom adapter which will inflate a custom layout. Implement a custom adapter (by extending BaseAdapter class or ArrayAdapter<Employee> class) Check this tutorial : http://www.ezzylearning.com/tutorial.aspx?tid=1763429

0

A custom listview will do the job for you.
Here is a very good tutorial for your case.
Layout of your custom listview should be something like this:

---------------------------------------
TextView                    Button

RadioGroup
TextView  EditText
TextView
CheckBox TextView
CheckBox TextView
CheckBox TextView
CheckBox TextView
Button
---------------------------------------

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.