Is EpoxyController.notifyModelChanged() a supported API? If I try calling that method on a Typed2EpoxyController, in some cases it causes a crash. And looking at the code base, the crash path is clear:
EpoxyController.notifyModelChanged() -> requestModelBuild() -> and then Typed2EpoxyController throws the IllegalStateException():
public final void requestModelBuild() {
if (!allowModelBuildRequests) {
throw new IllegalStateException(
"You cannot call `requestModelBuild` directly. Call `setData` instead to trigger a "
+ "model refresh with new data.");
}
super.requestModelBuild();
}
Is EpoxyController.notifyModelChanged() a supported API? If I try calling that method on a Typed2EpoxyController, in some cases it causes a crash. And looking at the code base, the crash path is clear:
EpoxyController.notifyModelChanged() -> requestModelBuild() -> and then Typed2EpoxyController throws the IllegalStateException():