Moxy Versions Save

Moxy is MVP library for Android

v1.2.0

7 years ago
  • Changed rules of pressenter life time. Weak presenters alive until finished all views where it was injected.

v1.1.2

7 years ago
  • Fixed bug when existing bundle override new save state bundle(issue-39 and bug video).

v1.1.1

7 years ago
  • Child MvpDelegate successfully saved and restored while parent MvpDelegate still alive

v1.1.0

7 years ago
  • PresenterFactory removed
  • Added @ProvidePresenter and @ProvidePresenterTag. More here

Write us if you have problems with migration to new annotations.

v1.0.3

7 years ago

Generated class of command is public now. This allows you to cast commands in your CustomStateStrategy to concrete command, like in this issue comment.

v1.0.2

7 years ago
  • Fixed presenters leak in nested fragments(default and support)
  • MvpAppCompatFragment crash fixed

v1.0.1

7 years ago

Fixed potential memory leak in MvpAppCompatFragment

v1.0.0

7 years ago
  • Allowed to set custom PresentersStore. This object help you manage presenters instances. It can help to mock presenters for View tests.
  • Code style changed

:star2: Bonus! :boom:

  • Added MvpAppCompatActivity and MvpAppCompatFragment via moxy-app-compat module.

v0.5.4

7 years ago

Fixed critical bug of code generation for typed MvpView

v0.5.3

7 years ago
  • Now you can use typed MvpView. Thats allow you write some like this:
interface LoadRefreshView<Data> extends MvpView
{
    void showData(Data data)
}

public abstaract class LoadRefreshActivity<Data> extends MvpActivity implements LoadRefreshView<Data>
{
    public abstract CustomAdapter<Data> getAdapter();

    void showData(Data data)
    {
        getAdapter().setData(data)
    }
}

public class NewsActivity extends LoadRefreshActivity<News>
{
...
}

public class MessagesActivity extends LoadRefreshActivity<Message>
{
...
}

  • Changed moment when presenter was destroyed. Caution! Change your base classes similar to MvpActivity and MvpFragment
  • Memory optimization(presenter factory doesn't handle reference to default presenter)