Moxy icon indicating copy to clipboard operation
Moxy copied to clipboard

Moxy is MVP library for Android with incremental annotation processor and ktx features

Results 25 Moxy issues
Sort by recently updated
recently updated
newest added

I get an error during migration when I try to build a project > :app:kaptProdDebugKotline: [kapt] An exception occurred: java.lang.NoSuchMethodError: kotlin.jvm.internal.PropertyReference1Impl.(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)V at moxy.compiler.presenterbinder.InjectPresenterProcessor$collectFields$2$tag$1.(InjectPresenterProcessor.kt) at moxy.compiler.presenterbinder.InjectPresenterProcessor$collectFields$2$tag$1.(InjectPresenterProcessor.kt) at moxy.compiler.presenterbinder.InjectPresenterProcessor.collectFields(InjectPresenterProcessor.kt:67) at moxy.compiler.presenterbinder.InjectPresenterProcessor.process(InjectPresenterProcessor.kt:41) at...

Apparently our `moxyPresenter` property delegate [can be optimized](https://github.com/Miha-x64/Mikes_IDEA_extensions/blob/master/src/main/resources/inspectionDescriptions/ktPropBy.html): Property delegation to noinline function(s) causes (reflective) `KProperty` creation which slows down initialization and should be avoided in applications which should start...

enhancement

In Activity I fill EditText and each entered character i call `presenter.setName(name)`. In presenter I save name as class parameter. But if I'll rotate screen the name will dissapear because...

Есть ViewPager и в нём соответсвенно есть фрагменты. Эти фрагменты пересоздаются по необходимости. Старые фрагменты удаляются, новые создаются. Однако презентеры от старых фрагментов почему-то живут. Ниже скрины с методами onDestroy....

При сборке проекта с некоторой вероятностью в сгенерированном классе `ProfileView$$State` не находит нужный импорт на класс `MetaModel.ProfileScreenMetaModel` В функции интерфейса MvpView используется тип `MetaModel.ProfileScreenMetaModel` ``` data class MetaModel( val verificationScreen:...

При использовании ViewBindingHolder.kt (это из примера package moxy.sample.ui) в некоторых кейсах получаем: java.lang.AbstractMethodError: abstract method void androidx.lifecycle.DefaultLifecycleObserver.onCreate(androidx.lifecycle.LifecycleOwner) Лечение -- переопределить все методы в DefaultLifecycleObserver : ``` class ViewBindingHolder { ......

Now Moxy allows to specify tags in state strategy aliases. Example: ``` @StateStrategyType(AddToEndSingleTagStrategy.class) @interface AddToEndSingleTag { @StateStrategyTypeTag String tag() default ""; } ``` Also, there's new state strategy alias which...

![image](https://user-images.githubusercontent.com/17458811/113476565-d8461e80-9484-11eb-9e21-233200216d4c.png) _Note: Moxy compilation has failed. Could you copy stack trace above and write us (or open an issue on Github)?error: Moxy compilation failed; see the compiler error output for...

enhancement

I have created a presenter for the view holder to display it correctly according to the data. But now, unfortunately, you have to do it in the classic way without...

question