Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a conductor controller's view got disappeared #109

Closed
amoikevin opened this issue Mar 7, 2017 · 2 comments
Closed

a conductor controller's view got disappeared #109

amoikevin opened this issue Mar 7, 2017 · 2 comments

Comments

@amoikevin
Copy link

I use conductor togethor with anvil in my project.
here is my base Controller:
public abstract class BaseController extends Controller implements Anvil.Renderable
{
@OverRide
protected void onAttach(@nonnull View view) {
super.onAttach(view);
Anvil.mount(view, this);
}

@Override
protected void onDetach(@NonNull View view) {
    super.onDetach(view);
    Anvil.unmount(view, false);
}

}
and i have a home controller which use viewpager as its main content.
at first everything works well.buf after pressing the home button,and return back ,the viewpager's content disapears.

@amoikevin
Copy link
Author

after upgrading to "commit 1da406d " ,now it works

@FunnyDevs
Copy link

FunnyDevs commented Mar 18, 2017

I have same problem with conductor. I have created new RenderableView inside method 'onCreateView' of a Controller. When i push this new controller, the layout is built but, at the end of transition animation, it disappears.
Instead It works if i create a new RenderrableView from xml file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants