@carlw Nah, my global goal is, as I’ve said before, to add (parsed JSON array of objects into model class) and update, when needed, objects in the listview. Each type of object can be displayed differently and has its unique functions.
I’m new to kotlin, but as for Java developer I found this way easier at least for me. I couldn’t rewrite everything for wrapper class as I’m not the author of first app’s versions, even though I’m trying
My main view is splitpane, in left pane I have list of <ItemGroup>instances, by selection it opens its items in right pane.
Now I’m easily displaying them with
when
thing, last goal is getting model’s
id
on selection so I can request list of items from its group and display on right pane.
Right pane works in the same way except it asks server for update periodically