-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #124 from icerockdev/testing-support
Release 0.10.0
- Loading branch information
Showing
50 changed files
with
923 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
public final class dev/icerock/moko/mvvm/UIKt { | ||
public static final fun getUI (Lkotlinx/coroutines/Dispatchers;)Lkotlinx/coroutines/CoroutineDispatcher; | ||
} | ||
|
||
public final class dev/icerock/moko/mvvm/ViewModelFactory : androidx/lifecycle/ViewModelProvider$Factory { | ||
public fun <init> (Lkotlin/jvm/functions/Function0;)V | ||
public fun create (Ljava/lang/Class;)Landroidx/lifecycle/ViewModel; | ||
} | ||
|
||
public final class dev/icerock/moko/mvvm/core/BuildConfig { | ||
public static final field BUILD_TYPE Ljava/lang/String; | ||
public static final field DEBUG Z | ||
public static final field LIBRARY_PACKAGE_NAME Ljava/lang/String; | ||
public fun <init> ()V | ||
} | ||
|
||
public final class dev/icerock/moko/mvvm/dispatcher/EventsDispatcher { | ||
public fun <init> ()V | ||
public fun <init> (Ljava/util/concurrent/Executor;)V | ||
public fun <init> (Ljava/util/concurrent/Executor;Ljava/lang/Object;)V | ||
public final fun bind (Landroidx/lifecycle/LifecycleOwner;Ljava/lang/Object;)V | ||
public final fun dispatchEvent (Lkotlin/jvm/functions/Function1;)V | ||
} | ||
|
||
public final class dev/icerock/moko/mvvm/dispatcher/EventsDispatcherExtKt { | ||
public static final fun createExecutorOnMainLooper ()Ljava/util/concurrent/Executor; | ||
} | ||
|
||
public abstract interface class dev/icerock/moko/mvvm/dispatcher/EventsDispatcherOwner { | ||
public abstract fun getEventsDispatcher ()Ldev/icerock/moko/mvvm/dispatcher/EventsDispatcher; | ||
} | ||
|
||
public class dev/icerock/moko/mvvm/viewmodel/ViewModel : androidx/lifecycle/ViewModel { | ||
public fun <init> ()V | ||
protected final fun getViewModelScope ()Lkotlinx/coroutines/CoroutineScope; | ||
public fun onCleared ()V | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
mvvm-core/src/androidMain/kotlin/dev/icerock/moko/mvvm/UI.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
iosX64Main |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
public abstract interface class androidx/databinding/DataBindingComponent { | ||
} | ||
|
||
public class androidx/databinding/library/baseAdapters/BR { | ||
public static field _all I | ||
public fun <init> ()V | ||
} | ||
|
||
public abstract class dev/icerock/moko/mvvm/MvvmActivity : androidx/appcompat/app/AppCompatActivity { | ||
protected field binding Landroidx/databinding/ViewDataBinding; | ||
protected field viewModel Ldev/icerock/moko/mvvm/viewmodel/ViewModel; | ||
public fun <init> ()V | ||
protected final fun getBinding ()Landroidx/databinding/ViewDataBinding; | ||
protected abstract fun getLayoutId ()I | ||
protected final fun getViewModel ()Ldev/icerock/moko/mvvm/viewmodel/ViewModel; | ||
protected abstract fun getViewModelClass ()Ljava/lang/Class; | ||
protected abstract fun getViewModelVariableId ()I | ||
protected fun onCreate (Landroid/os/Bundle;)V | ||
protected final fun setBinding (Landroidx/databinding/ViewDataBinding;)V | ||
protected final fun setViewModel (Ldev/icerock/moko/mvvm/viewmodel/ViewModel;)V | ||
protected abstract fun viewModelFactory ()Landroidx/lifecycle/ViewModelProvider$Factory; | ||
} | ||
|
||
public abstract class dev/icerock/moko/mvvm/MvvmEventsActivity : dev/icerock/moko/mvvm/MvvmActivity { | ||
public fun <init> ()V | ||
protected fun onCreate (Landroid/os/Bundle;)V | ||
} | ||
|
||
public abstract class dev/icerock/moko/mvvm/MvvmEventsFragment : dev/icerock/moko/mvvm/MvvmFragment { | ||
public fun <init> ()V | ||
public fun onCreate (Landroid/os/Bundle;)V | ||
} | ||
|
||
public abstract class dev/icerock/moko/mvvm/MvvmFragment : androidx/fragment/app/Fragment { | ||
protected field viewModel Ldev/icerock/moko/mvvm/viewmodel/ViewModel; | ||
public fun <init> ()V | ||
protected final fun getBinding ()Landroidx/databinding/ViewDataBinding; | ||
protected abstract fun getLayoutId ()I | ||
protected final fun getViewModel ()Ldev/icerock/moko/mvvm/viewmodel/ViewModel; | ||
protected abstract fun getViewModelClass ()Ljava/lang/Class; | ||
protected abstract fun getViewModelVariableId ()I | ||
public fun onCreate (Landroid/os/Bundle;)V | ||
public fun onCreateView (Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View; | ||
public fun onDestroyView ()V | ||
public fun onViewCreated (Landroid/view/View;Landroid/os/Bundle;)V | ||
protected final fun setViewModel (Ldev/icerock/moko/mvvm/viewmodel/ViewModel;)V | ||
protected abstract fun viewModelFactory ()Landroidx/lifecycle/ViewModelProvider$Factory; | ||
protected fun viewModelStoreOwner ()Landroidx/lifecycle/ViewModelStoreOwner; | ||
} | ||
|
||
public class dev/icerock/moko/mvvm/databinding/BR { | ||
public static field _all I | ||
public fun <init> ()V | ||
} | ||
|
||
public final class dev/icerock/moko/mvvm/databinding/BuildConfig { | ||
public static final field BUILD_TYPE Ljava/lang/String; | ||
public static final field DEBUG Z | ||
public static final field LIBRARY_PACKAGE_NAME Ljava/lang/String; | ||
public fun <init> ()V | ||
} | ||
|
||
public class dev/icerock/moko/mvvm/databinding/DataBinderMapperImpl : androidx/databinding/DataBinderMapper { | ||
public fun <init> ()V | ||
public fun collectDependencies ()Ljava/util/List; | ||
public fun convertBrIdToString (I)Ljava/lang/String; | ||
public fun getDataBinder (Landroidx/databinding/DataBindingComponent;Landroid/view/View;I)Landroidx/databinding/ViewDataBinding; | ||
public fun getDataBinder (Landroidx/databinding/DataBindingComponent;[Landroid/view/View;I)Landroidx/databinding/ViewDataBinding; | ||
public fun getLayoutId (Ljava/lang/String;)I | ||
} | ||
|
||
public class dev/icerock/moko/mvvm/databinding/DataBindingTriggerClass { | ||
public fun <init> ()V | ||
} | ||
|
||
public final class dev/icerock/moko/mvvm/databinding/StringDescAdapters { | ||
public static final field INSTANCE Ldev/icerock/moko/mvvm/databinding/StringDescAdapters; | ||
public static final fun setError (Lcom/google/android/material/textfield/TextInputLayout;Ldev/icerock/moko/resources/desc/StringDesc;)V | ||
public static final fun setText (Landroid/widget/Button;Ldev/icerock/moko/resources/desc/StringDesc;)V | ||
public static final fun setText (Landroid/widget/TextView;Ldev/icerock/moko/resources/desc/StringDesc;)V | ||
} | ||
|
||
public final class dev/icerock/moko/mvvm/databinding/ViewBindingAdapters { | ||
public static final field INSTANCE Ldev/icerock/moko/mvvm/databinding/ViewBindingAdapters; | ||
public static final fun setInvisibleOrGone (Landroid/view/View;Z)V | ||
public static final fun setVisibleOrGone (Landroid/view/View;Z)V | ||
public static final fun setVisibleOrInvisible (Landroid/view/View;Z)V | ||
} | ||
|
Empty file.
Oops, something went wrong.