I fill in kvs:
I get:
This does not correspond to the input order.
How can I sort kvs?
And the second question:
Two files appear in the Starter.myFolder folder - Thumbnails of 2 MB and Thumbnails-journal of 0B.
That is, the last file does not contain information. Is it necessary?
B4X:
Starter.kvs.Initialize(Starter.myFolder, "Thumbnails")
For i=0 To db.media.Size-1
Starter.kvs.PutBitmap(id,bmp) 'id=@O01@,id=@O02@...id=@O129@
Next
B4X:
Starter.kvs.Initialize(Starter.myFolder, "Thumbnails")
Dim tempList As List
tempList = Starter.kvs.ListKeys
For i=0 To tempList.Size-1
Dim id As String=tempList.Get(i)
Log(id )
Next
'id=@O100@,@O101@,@O102@,@O103@,@O104@,@O105@
How can I sort kvs?
And the second question:
Two files appear in the Starter.myFolder folder - Thumbnails of 2 MB and Thumbnails-journal of 0B.
That is, the last file does not contain information. Is it necessary?