Android Question How to get item from ListView

mrjaw

Active Member
Licensed User
Longtime User
Hi!
I wanna know how to get the line selected in ListView. I am using Listview with 2 lines how change the size for line1 and Line2 and how to get this line for getting the ID number that is the code
I tried to use XcustomList how tell Erel but in this I dont know how to get info and change the appaerence of CustomList

TIA
 

Peter Simpson

Expert
Licensed User
Longtime User
I tried to use XcustomList how tell Erel but in this I dont know how to get info and change the appaerence of CustomList

@mrjaw I recommend that you use Customlistview and that you look at the example below.

Enjoy
 
Upvote 0

mrjaw

Active Member
Licensed User
Longtime User
Hi! I am using this example and it works,ugly, but works. I cant implement the division between each item. I am using 2 Label,2 lines, for each item. I have problem with this yet, I need to show the first line greater than the second line. I tried to use just one label with a few lines but I dont think so a label can use a few lines, cant it ??

Thks
 
Upvote 0

mrjaw

Active Member
Licensed User
Longtime User
OK, this is my code, this is just a sample.
The picture is how looks the list
Tks In advance
 

Attachments

  • Myfirts.zip
    14.2 KB · Views: 160
  • w1.jpeg
    w1.jpeg
    178 KB · Views: 173
Upvote 0

Mahares

Expert
Licensed User
Longtime User
Pls, can you upload ?
Here is attached a project using xCLV to display your own data. Please note I did not mess with your other stuff and comments you have in your project. Your other stuff is still there. You can build and improve on it.
 

Attachments

  • mrjawxCLV010822.zip
    14.9 KB · Views: 148
Upvote 0
Top