unicreators / mvvm

A Flutter MVVM (Model-View-ViewModel) implementation. It uses property-based data binding to establish a connection between the ViewModel and the View, and drives the View changes through the ViewModel.
https://pub.dev/packages/mvvm
MIT License
134 stars 22 forks source link

我怀疑加了MVVM之后,热更新没有效果了 #10

Closed kamike closed 4 years ago

kamike commented 4 years ago

项目中加了mvvm之后,在Android studio每次保存之后,hot reload都会自动跳转到第一个界面,只是修改字体大小,保存之后都是这样。新建的项目没有用mvvm就不会,我怀疑是这个框架的bug,没有报错信息,暂时还没有找到证据。

unicreators commented 4 years ago

@kamike MVVM示例代码在模拟器中没出现这种情况,可否贴出你的代码?

kamike commented 4 years ago

抱歉,写了个demo,发现没有问题,最后查出来是我项目的代码有问题