The Notepad example on android developer is good for a single list, but I want two lists drawing from two tables in a single view. Can anyone expand on how to implement something like this?
I’m wondering about how many adapters I’ll need. Can I manage two lists in a single ListActivity?
Why not implement as a Relative Layout instead of the Linear Layout in the tutorial. A linear layout only allows objects to be above and below each other while Relative Layout allows for more freedom.
Use
To put things next to each other.
Mess with padding and spacing to get a good effect
(note using both at the same time causes a crash so be sure to just use one).
Also there is
but I’m just in the process of working it out.
And here we are why not have some example code
Sorry if its a little messy
EDIT:
About the list adapters I would think it would be best that you use two adapters and implement them in separate frame views or something. It may also be worth looking into fragments but they are horrible if you ask me.