Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

Cannot open Remixer from fragment. #152

Open
felislynx-silae opened this issue May 4, 2017 · 2 comments
Open

Cannot open Remixer from fragment. #152

felislynx-silae opened this issue May 4, 2017 · 2 comments

Comments

@felislynx-silae
Copy link

felislynx-silae commented May 4, 2017

After setting remixer up inside a fragment, it's not reacting (opening) via gesture or button
This is a part of onCreateView method:

RemixerBinder.bind(this);
RemixerFragment.newInstance().attachToGesture(
                    getActivity(),
                    Direction.UP,
                    2);
RemixerFragment.newInstance().attachToButton(getActivity(),mRemixerOpenButton);
@miguelandres
Copy link
Contributor

Currently remixer supports activities as contexts, not fragments. Is setting it up from the activity a viable workaround for you?

@felislynx-silae
Copy link
Author

You know, it's working but also produces a lot of unnecesary code. It would be just much simpler to use it within fragment. But if right now it's not supported i understand. Can you tell me if it's feature that is considered to be available in future releases?

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

No branches or pull requests

2 participants