You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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();
}
The text was updated successfully, but these errors were encountered:
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():
The text was updated successfully, but these errors were encountered: