No, sorry... Been busy
itemsCallbackMultichoice(selectedIndices() as Integer) as MaterialDialog
dialog.itemsCallbackMultiChoice(Array As Int(1,2))
dialog.itemsCallbackMultiChoice(Array As Object(1,2))
Array As Object(1,2)
I´m actually working on this lib (already got the single and multiselect working).When using the progress dialog, I get
Dim pd1 As MaterialDialog
pd1.Initialize("")
pd1.title("Getting file list")
pd1.progressIndeterminateStyle(False)
pd1.progress(True,0)
pd1.show
I can ignore your request... It is working in my version. Release maybe todayThe code that crashes is
will checkbut no hide?
I´ve added a hide method....
oups... i fogot to package the right files... Try again with v1.11 pleaseCan't seem to find it in version 1.1...
dialog.Initialize("sd1")
dialog.items(Array As String("Apple ", "Orange", "Grapes","Pineapple","Mango" ))
dialog.itemsCallbackMultiChoice(Array As Int(1,2))
[code]
crashes with:
[code]android.view.InflateException: Binary XML file line #1: Binary XML file line #1: Error inflating class <unknown>
Sub mcd1_onSelection(selected() As Int, strings() As string)
java.lang.Exception: Sub mcd1_onselection signature does not match expected signature.
dialog.Initialize("sd1")
This event does not belong to the dialog you initialized!? it should be sd1_onselectionSub mcd1_onselection signature does not match
they are working (does not crash) but the callbacks are not called :-(already got the single and multiselect working
** Activity (main) Resume **
** Service (starter) Create **
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
itemsCallbackMultiChoice
lib: NOTFOUND 'dialog_onshow
onSelection
lib:Raising.. dialog_onselection()
Dialog_onSelection([I@296caf6,[Ljava.lang.String;@c4f8ef7)
Selected: 0 -> Hallo
Selected: 1 -> B4X
Selected: 2 -> World!
** Activity (main) Pause, UserClosed = false **
** Activity (main) Resume **
onSelection
lib:Raising.. dialog_onselection()
Dialog_onSelection([I@e1fa8df,[Ljava.lang.String;@469092c)
Selected: 1 -> B4X
Selected: 2 -> World!
onSelection
lib:Raising.. dialog_onselection()
Dialog_onSelection([I@e5eb3f4,[Ljava.lang.String;@bdf271d)
Selected: 1 -> B4X
onSelection
lib:Raising.. dialog_onselection()
Dialog_onSelection([I@e4071bc,[Ljava.lang.String;@77fe545)
onSelection
lib:Raising.. dialog_onselection()
Dialog_onSelection([I@e3e90c1,[Ljava.lang.String;@704a066)
Selected: 2 -> World!
onSelection
lib:Raising.. dialog_onselection()
Dialog_onSelection([I@faa5cf2,[Ljava.lang.String;@9077f43)
Selected: 0 -> Hallo
Selected: 2 -> World!
onSelection
lib:Raising.. dialog_onselection()
Dialog_onSelection([I@d98cc9f,[Ljava.lang.String;@a61c1ec)
Selected: 0 -> Hallo
Selected: 1 -> B4X
Selected: 2 -> World!
v1.12 It is working fine for me! It shows progressdialog, it shows multiselect list...nothing!