Android Question MiniSearchView - Noob Install

trepdas

Active Member
Licensed User
hi
can you please tell me what did I miss in minisearchview ?

I followed all instructions in the minisearch view (probably not) in
https://www.b4x.com/android/forum/threads/b4x-xui-minisearchview-autocomplete-field.93564/




b4a 7.80

libs installed :
CustomListView v 1.76
XcustomListView v.1.63
JavaObject v.2.05
XUI v.1.71
also installed (needed for the rest of the project)

IME 1.10
stringfunctions 1.05
reflection 2.40
stringutils 1.12


classes installed : minisearchview and CustomListView

I removed and recreated the CLV searchview component in the designer.

yet , in compile I get this :


B4X:
B4A Version: 7.80
Parsing code.    (0.03s)
Compiling code.    Error
Error compiling program.
Error description: Unknown member: size
Error occurred on line: 129
If CLV.Size > ListCounter Then
Word: size


IDE looks like this when hovering the CLV.size I get "unknown members:size"

PS
behaves the same also if I run Erel's example without modifying anything



Thank you in advance
 

Attachments

  • tmp2.jpg
    tmp2.jpg
    428.3 KB · Views: 120

trepdas

Active Member
Licensed User
OK...
it's been a track I've made in the last week.
I tried with implementing Normal Searchview

Then , The "Build Index" Pause changed plans and I tried this

https://www.b4x.com/android/forum/t...ith-searchview-b4xserializator.61872/#content


now.
for my project - only 1 searchview is cool. (of course two are coolest)


so ..., I go to the basic and thank you for being patient.

I have two lists.
lang1 , lang2
(language words)

6000 items in each list.

how would I continue with this ?
maybe I don't need searchview at all and can use autocompletelist instead?
would this be better?

THXX
 
Upvote 0

trepdas

Active Member
Licensed User
OK Back to where I left.

Updated b4a to 8.30

I run Erel's code from the minisearchview tutorial - fails while compiling

B4X:
B4A Version: 8.30
Parsing code.    (0.04s)
Compiling code.    Error
Error compiling program.
Error description: Unknown member: size
Error occurred on line: 129
If CLV.Size > ListCounter Then
Word: size

I get this error on the logger , and still, something is wrong.

here is the log file from c:/temp

B4X:
Build modules tree: 0
B4A version: 8.30
.Net version: 4.0.30319.42000
Ini folder: C:\Users\Hen\AppData\Roaming\Anywhere Software\Basic4android
UDP server: 192.168.2.104, broadcast: 192.168.2.255
Build modules tree: 0
Gui: 1008
File not found: Starter.bas
Build modules tree: 2
File not found: Starter.bas
File not found: Starter.bas
*** no reuse ***
*** no reuse ***
Gui: 381
Gui: 149
Gui: 70
Build modules tree: 15
Build modules tree: 0
*** no reuse ***
Build modules tree: 0
*** no reuse ***
*** no reuse ***
*** no reuse ***
Gui: 236
ExitCode: 1
Output:
jarsigner: unable to open jar file: bin\temp.ap_

Error:

jarsigner: unable to open jar file: bin\temp.ap_

ManagerSpecialLibraries: building jar - L:\Alma - old searchview\Objects\bin\extra\opt.jar
System.Exception: Error compiling program.
Error description: Syntax error.
Error occurred on line: 138
End If
   at cr.a(List`1 A_0, String A_1)
   at ab.c()
   at bh.a(Object A_0)
Compilation task: 156.0003
opt: waiting for connection on port: 16400
opt: *************************
opt: waiting for latch.
Gui: 251
OptimizedDexer exitCode=1
dontWait=True
opt: waiting for connection on port: 16400
opt: *************************
opt: waiting for latch.
Gui: 235
Gui: 272
Build modules tree: 0
UpdateCustomViews: 2, True
UpdateCustomViews: 2, True
UpdateCustomViews: 2, True
UpdateCustomViews: 2, True
Gui: 1011
UpdateCustomViews: 2, True
Gui: 391
Gui: 819
UpdateCustomViews: 2, True
Gui: 164
Gui: 110
Gui: 59
Gui: 108
UpdateCustomViews: 2, True
Build modules tree: 0
Build modules tree: 0
Gui: 166
Gui: 136
Gui: 248
OptimizedDexer exitCode=1
dontWait=False
UpdateCustomViews: 2, True
Gui: 290
opt: waiting for connection on port: 16400
opt: *************************
opt: waiting for latch.
Gui: 244
Gui: 218
OptimizedDexer exitCode=1
dontWait=False
opt: waiting for connection on port: 16400
opt: *************************
opt: waiting for latch.
OptimizedDexer exitCode=1
dontWait=False
opt: waiting for connection on port: 16400
opt: *************************
opt: waiting for latch.
OptimizedDexer exitCode=1
dontWait=False
opt: waiting for connection on port: 16400
opt: *************************
opt: waiting for latch.
OptimizedDexer exitCode=1
dontWait=False
opt: waiting for connection on port: 16400
opt: *************************
opt: waiting for latch.
OptimizedDexer exitCode=1
dontWait=False
opt: waiting for connection on port: 16400
opt: *************************
opt: waiting for latch.
OptimizedDexer exitCode=1
dontWait=False
opt: waiting for connection on port: 16400
opt: *************************
opt: waiting for latch.
OptimizedDexer exitCode=1
dontWait=False
opt: waiting for connection on port: 16400
opt: *************************
opt: waiting for latch.
OptimizedDexer exitCode=1
dontWait=False
opt: waiting for connection on port: 16400
opt: *************************
opt: waiting for latch.
OptimizedDexer exitCode=1
dontWait=False
opt: waiting for connection on port: 16400
opt: *************************
opt: waiting for latch.
OptimizedDexer exitCode=1
dontWait=False
opt: waiting for connection on port: 16400
opt: *************************
opt: waiting for latch.
OptimizedDexer exitCode=1
dontWait=False
opt: waiting for connection on port: 16400
opt: *************************
opt: waiting for latch.
OptimizedDexer exitCode=1
dontWait=False
opt: waiting for connection on port: 16400
opt: *************************
opt: waiting for latch.
Gui: 562
Gui: 81
Gui: 155
Gui: 257
Gui: 233
OptimizedDexer exitCode=1
dontWait=False
opt: *************************
opt: waiting for latch.
opt: waiting for connection on port: 16400
OptimizedDexer exitCode=1
dontWait=False
opt: *************************
opt: waiting for latch.
opt: waiting for connection on port: 16400
OptimizedDexer exitCode=1
dontWait=False
opt: waiting for connection on port: 16400
opt: *************************
opt: waiting for latch.
OptimizedDexer exitCode=1
dontWait=False
opt: waiting for connection on port: 16400
opt: *************************
opt: waiting for latch.
OptimizedDexer exitCode=1
dontWait=False
opt: waiting for connection on port: 16400
opt: *************************
opt: waiting for latch.
 

Attachments

  • tmp3.jpg
    tmp3.jpg
    393 KB · Views: 113
  • log.jpg
    log.jpg
    56.5 KB · Views: 121
Last edited:
Upvote 0

trepdas

Active Member
Licensed User
Ok you wouldn't believe it.
Out of the blue decided to restart the pc.
ran it again and running smoothly.

Thank you for your patience
 
Upvote 0
Top