Releases: Arello-Mobile/Moxy
Releases · Arello-Mobile/Moxy
v1.2.0
v1.1.2
v1.1.1
v1.1.0
v1.0.3
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
v1.0.1
v1.0.0
v0.5.4
v0.5.3
- 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)