Android Question how to hide scroll on ScrollView

hello NJDude,

i dont want disable scrolling. i just want hide scrollbar( bar with button up and down).

i need users scroll to view
 
Upvote 0
Hi, Klaus. I had this problem and brutally copied the code, but it doesn't compile. There are several "RunMethod?" in reflector, but I didn't see any one using such parameters. What am I missing? Thanks in advance.. (In the meanwhile I will check again, so if the method exists and I just missed to see it, forget this question..)
 
Upvote 0
Sorry, my mistake, I simply copied the code from the oter post which is wrong.
Two errors in three lines :(.

It must be either with the Reflection library
Code: Copy
Dim r As Reflector
r.Target = ScrollView1
r.RunMethod 2("setVerticalScrollBarEnabled",False, "java.lang.boolean")
or with the JavaObject library.
Code: Copy
Dim jo = ScrollView1 As JavaObject
jo.RunMethod("setVerticalScrollBarEnabled", Array As Object(False))
 
Upvote 0
Back
Top