imangazalievm
04/09/2016, 10:13 AM@InjectPresenter
lateinit Var mPresenter: NotePresenter
Here is an example of its use: https://github.com/Arello-Mobile/MoxySampl
The problem is that the Presenter is not initialized. For example:
I have two activities: MainActivity and NoteActivity. I use both @InjectPresenter activity. In MainActivity @InjectPresenter works and does not work in NoteActivity. If I change the name on NoteActivity ANoteActivity, it will @InjectPresenter workin ANoteActivity, but will not work in MainActivity. That is @InjectPresenter works in the activities that are used in the list (or alphabetical).
I rewrote the project in Java and it worked. What could be the problem? Maybe the problem is kapt?