Android Question ListView items apper from bottom to top

i don't know much about it, but....if arg is true/false then it is not java.lang.int. it is probably java.lang.boolean
so
r.RunMethod2("stackFromBottom", "true", "java.lang.int") should be

Code: Copy
r.RunMethod2("stackFromBottom", True, "java.lang.boolean")
 
Upvote 0
i changed it to:

Code: Copy
Sub BottomAtToItems(lv As ListView)
    Dim r As Reflector
    r.Target = lv
    r.RunMethod2("stackFromBottom", "true", "java.lang.boolean")
End Sub

And i get this error from log:

java.lang.NoSuchMethodException: stackFromBottom [boolean]

So i think that ListView component does not have stackFromBottom API...how can i add it to b4a?
 
Upvote 0
B4A Listview is a own implementation of a Listview with the possibilities to use two lines and bitmap.
Android Listview does not have this features. Here a item ist just a "onelineitem".

So trying to change a feature of an Android Listview on a B4A Listview will not work.
 
Upvote 0
Ok i thanks...i get more clear about how ListView is implement.

Can you please suggest me what of ListView replacement i can use to get from bottom to top items?
 
Upvote 0
Thanks i will nw use 2D array and make items sorted in array backwards (numbers from bottom and top) and then add to ListView Items...and using activity keypress up and down inverse function..if this idea not work i will buy library you mentioned...thanks.
 
Upvote 0
Back
Top