I have using GetX last 10 months. Beginning i didn’t faced any issues about update Rx value after the API response. after the days page and feature increased the update value isn’t working.
GetxController
final Rx<Status<List<JSONmodel>>> _rxData = Rx<Status<List<JSONmodel>>>(const Status.loading());
_rxData.value = data;
_rxData.listen((val)=> print(val)); // this prints updated data
update();
refresh();
-
GetBuilder
-
GetX
-
Obx
-
Get.lazyPut(() => Controller());
-
Get.put
-
Obs
I have tried many things to update the values in UI part. But nothing works to update
New contributor
shvi 143 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.