I'm trying to use ExecuteList from DBUtils, but keep getting this error:
This is my code:
(I'm working on a B4X "Launcher". Have everything working except the recent projects code.)
The Database is attached.
B4X:
java.lang.ClassCastException: javafx.scene.control.ListView cannot be cast to java.util.List
This is my code:
B4X:
Sub ShowRecents
Dim Recents As SQL
Recents.InitializeSQLite(DBLocal, "recent-projs.db", False)
Dim QueryRecents As String = "SELECT Name FROM Recents"
DBUtils.ExecuteList(Recents, QueryRecents, Null, 0, RecentProjectsList)
End Sub
(I'm working on a B4X "Launcher". Have everything working except the recent projects code.)
The Database is attached.