B4A Library [Lib] UltimateListView

Informatix

Expert
Licensed User
Longtime User
Debug mode is incompatible with ULV.
And please note that support is only provided by email.
 

MarcoRome

Expert
Licensed User
Longtime User
Hi all. I have this ULV with editText that i can fill in runtime, so after that customer insert example:
aaaa
bbbb
cccc

is possible reading this edittext ?

B4X:
Dim totale As Int =    ulv.NumberOfItems
    For i = 0 To totale
        ???
    Next



Thank you
Regards
Marco
 

Haris Hafeez

Active Member
Licensed User
Longtime User
You should have a reference to this data already as that's how you will populate the views contained in ULV. Do you not have a List object (perhaps in Globals) where you hold the values?
 

MarcoRome

Expert
Licensed User
Longtime User
You should have a reference to this data already as that's how you will populate the views contained in ULV. Do you not have a List object (perhaps in Globals) where you hold the values?
I explain better.
These data will be entered by the user at runtime, so I can not know before values.
The same are inserted empty, initially, it will be filled out by the user at a later time. I would have only one cycle (or other) where you can select the user submitted values

 

Haris Hafeez

Active Member
Licensed User
Longtime User
When the user has finished entering these values, where do you store it? I'd imagine you will have a data structure (custom type) and have a list of these objects stored in memory or perhaps you commit them to the DB? In either case, you have a 'store' where you get the values from and that's what I was referring to above.
 

MarcoRome

Expert
Licensed User
Longtime User
Is sufficient map.
But how do get the value ?
 

shashkiranr

Active Member
Licensed User
Longtime User
If possible, use something like the below code. Store the output corresponding to each edittext in a map. Call this sub from every edittext_textchanged sub.

B4X:
Sub StoreInput(EditTextTag as String, input as String)
       Select EditTextTag
            case "et1"
                In_Some_Map = input
            case "et2"
                In_Some_Map = input
       End Select
End Sub

Best,
SK
 

AbbasMohammed

Member
Licensed User
Longtime User
Hello there,
I have the problem , when I tried to run code with ( ULV.SelectWithClick = True) I couldn't and similar code , my ulv version is 3.9 !!!
 

Informatix

Expert
Licensed User
Longtime User
Hello,

Is it possible to achieve this with ULV?
View attachment 49986
You can create a grid as the example shown above, but not two columns with different heights for each column. The PinterestListView uses in fact two listviews that are synchronized when scrolling. I will look at how they are synchronized to see if I can reproduce that easily with ULV.
 

Dey

Active Member
Licensed User
Longtime User
Hello
a question
UltimateListview believe that interest to all,
SetActivityAttribute (Main, Android: hardwareAccelerated, "true") is recommended for every activity that has UltmateListView?
Thank you
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…