And in addition to that, if you want to load different data you could use the onStateChanged in your item/component.
onStateChanged: {
if (state == "state1") get_db(3);
else if (state == "state2") ...
}
↧