All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Set up publishing to Maven Central (thanks @DeKaN). (#124)
- Update Kotlin 1.4.32
- Added option to enable experimental isolating incremental annotation processing mode. More info in README (#121)
- BuildConfig classes no longer included in android modules (#118)
- Do not generate ViewState for abstract presenter classes (#101)
- Fix ViewStateProvider generation for nested presenters (#108)
- Throw exception if generated ViewStateProvider was not found (#107)
- Fixed R8 obfuscating names of presenters without explicit
@InjectViewState(#87) - Added proguard rules to
com.github.moxy-community:moxyartifact
- Fixed compiler crash when type variable used in presenter class (#81)
- Fixed compilation error if View interface method's parameter name clash with generated code (#53)
- Fixed restoration of childDelegate delegateTag in fragments (#80)
- Added
MvpPresenter.presenterScopeextension for kotlin coroutines (#59) - Added ability to define alias annotations for
@StateStrategyTypeannotation, and added some default aliases to the library (#72) - Added
@Inheritedannotation to@InjectViewState. It means@InjectViewStateis implicitly applied to all presenters,ViewStatewill be generated even without explicit annotation onMvpPresentersubclass (#76)
- Changed strategy resolution algorithm. Child view interface strategies will not propagate to superinterface views (#70)
- Guava conflicts fixes (#56)
- No public changes since 2.0-beta01. Release to maven central
- No public changes since 2.0-beta01
- No public changes since 2.0-alpha06
- Support for gradle incremental annotation processing.
moxy-ktxartifact, containingmoxyPresenterproperty delegate for kotlin users.- Layout id constructors for
MvpFragmentandMvpAppCompatActivity. enableEmptyStrategyHelper,defaultMoxyStrategyanddisableEmptyStrategyCheckcompiler options.
- Make
moxy-android,moxy-andoridx,moxy-appcompatandmoxy-materialartifacts to be .aar instead of .jar to automatically provide consumer proguard files. - All view methods are required to have
@StateStrategyannotation.
@RegisterMoxyReflectorPackagesannotation, MoxyReflector code generation, andmoxyReflectorPackagecompiler option.
- Broken code generation when view interface is inside other class.
- Inherited method being written twice inside generated ViewState if modifiers changed or parameters renamed.
Differences between Arello-Mobile Moxy and Moxy-community v1.0.14
moxy-androidxandmoxy-materialartifacts.
- Package from
com.arellomobile.mvptomoxy.
- Presenter types
WEAKandGLOBAL. All presenters are nowLOCAL.