Skip to content

Releases: Arello-Mobile/Moxy

v1.2.0

14 Nov 12:15
Compare
Choose a tag to compare
  • Changed rules of pressenter life time. Weak presenters alive until finished all views where it was injected.

v1.1.2

05 Nov 22:45
Compare
Choose a tag to compare
  • Fixed bug when existing bundle override new save state bundle(issue-39 and bug video).

v1.1.1

02 Nov 16:29
Compare
Choose a tag to compare
  • Child MvpDelegate successfully saved and restored while parent MvpDelegate still alive

v1.1.0

22 Oct 19:54
Compare
Choose a tag to compare
  • PresenterFactory removed
  • Added @ProvidePresenter and @ProvidePresenterTag. More here

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

v1.0.3

17 Oct 12:33
Compare
Choose a tag to compare

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

11 Oct 18:50
Compare
Choose a tag to compare
  • Fixed presenters leak in nested fragments(default and support)
  • MvpAppCompatFragment crash fixed

v1.0.1

05 Oct 17:12
Compare
Choose a tag to compare

Fixed potential memory leak in MvpAppCompatFragment

v1.0.0

30 Sep 07:54
Compare
Choose a tag to compare
  • Allowed to set custom PresentersStore. This object help you manage presenters instances. It can help to mock presenters for View tests.
  • Code style changed

🌟 Bonus! 💥

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

v0.5.4

08 Jul 06:07
Compare
Choose a tag to compare

Fixed critical bug of code generation for typed MvpView

v0.5.3

07 Jul 12:25
Compare
Choose a tag to compare
  • 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)