carlw
08/02/2017, 12:38 AMcarlw
08/02/2017, 12:39 AMpike
08/02/2017, 12:40 AMcarlw
08/02/2017, 12:40 AMcarlw
08/02/2017, 12:41 AMpike
08/02/2017, 12:41 AMcarlw
08/02/2017, 12:44 AMpike
08/02/2017, 12:56 AMcarlw
08/02/2017, 1:03 AMpike
08/02/2017, 1:06 AMcarlw
08/02/2017, 1:14 AMcarlw
08/02/2017, 1:14 AMpike
08/02/2017, 1:14 AMpike
08/02/2017, 1:31 AMcarlw
08/02/2017, 1:36 AMcarlw
08/02/2017, 1:36 AMpike
08/02/2017, 1:40 AMpike
08/02/2017, 1:41 AMcarlw
08/02/2017, 1:50 AMeddy_wm
08/02/2017, 2:28 AMparams
variable to hold my query strings parameters in order to build my Uri, fun fact my variable was not being used, there was another params
defined in component.kt that was being used , that means I was not calling the correct endpoint.
When I moved my params
from init{}
to the function where it was being used that's when it started working .
The remaining work is now to present that hierarchical data to ui, which I have tried with a tableview, but not working quite well.
I have an entity flight with properties flightNumber, status, arrival, departure.
The two last ones are also objects with other properties. Arrival and Departure have both time, city, iataCode... I have read the manual but didn't find such a scenario with object composition.pike
08/02/2017, 2:42 AMpike
08/02/2017, 2:45 AMedvin
08/02/2017, 6:07 AMedvin
08/02/2017, 6:09 AMparams
map holdes any parameters sent to the view. You can also access those using the val myParam: Int by param()
syntax. I can create an example that shows how to deal with nested properties in a TableView.pike
08/02/2017, 6:10 AMedvin
08/02/2017, 6:11 AMpike
08/02/2017, 6:11 AMedvin
08/02/2017, 6:11 AMpike
08/02/2017, 6:12 AM