ListView Auto Item Height

johnthomcode

Member
Licensed User
Longtime User
I am sending variable length text to a listview. This results in multiple lines. I have tried setting the item height up front, but some have too much white space and some don't have enough. Can I automatically adjust this? Do I need another control (ScrollView)?

Thanks!
 

johnthomcode

Member
Licensed User
Longtime User
Hi,

Thanks for your help. Unfortunately that didn't work out. Would this be easier to accomplish in another view (like a ScrollView)?

Thanks!

-John
 
Upvote 0

johnthomcode

Member
Licensed User
Longtime User
Hi,

Thanks for your help. I think I will stick with ListView for now, then. Do you anticipate the ability to respond to events in WebView in the future? Clicking on a link will trigger an event on Android?

Thanks!
 
Upvote 0

johnthomcode

Member
Licensed User
Longtime User
Wow! That's great news. If there's still time for another request, would it be possible to interact with links and submitted forms?

Thanks!
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
WebView now has a new event: OverrideUrl(Url As String) As Boolean
It gets called whenever the user presses on a link. If you return true from this event then you are "consuming" the link press and the WebView will not try to navigate to this link.

Submitted forms will not make it to this version. v1.5 will be released in a few days.
 
Upvote 0
Top