Hi guys,
I have 2 keys in keysvaluestore
When I list keyvalueStore
The log result in Jellybean shows keys order by input sequence
I have 2 keys in keysvaluestore
B4X:
Sub Process_Globals
Public kvs As KeyValueStore
end sub
Sub btn_Clicked
Private rec As List
rec.Initialize
rec.AddAll(Array As String("Account2","my account2","12345"))
kvs.PutEncrypted( "Account2",rec,PASSWORD)
rec.Initialize
rec.AddAll(Array As String("Account1","my account1,"12345"))
kvs.PutEncrypted( "Account1",rec,PASSWORD)
End Sub
When I list keyvalueStore
B4X:
Sub List
For i = 0 To kvs.ListKeys.Size - 1
LogColor(kvs.ListKeys.Get(i),Colors.Yellow)
Next
End Sub
The log result in Jellybean shows keys order by input sequence
- Account2
- Account1
- Account1
- Account2
Last edited: