The following code throws an error when sorting the list:
java.lang.NoSuchFieldException: No field name in class Lsv/bystrovzorov/classrepository; (declaration of 'sv.bystrovzorov.classrepository' appears in base.apk)
What is the reason?
java.lang.NoSuchFieldException: No field name in class Lsv/bystrovzorov/classrepository; (declaration of 'sv.bystrovzorov.classrepository' appears in base.apk)
What is the reason?
ClassRepository:
Sub Class_Globals
Public name As String, address As ClassAddress, notes As List
End Sub
Public Sub Initialize
address.Initialize
notes.Initialize
End Sub
Activity:
Dim lst As List
lst.Initialize
For Each k As String In parser.db.repositories.Keys
If parser.db.repositories.ContainsKey(k) Then
Dim repo As ClassRepository=parser.db.repositories.Get(k)
lst.Add(repo)
End If
Next
lst.SortType("name",True)