-
Notifications
You must be signed in to change notification settings - Fork 3
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
Working with Flutter Fragment Activity #7
Comments
What might be the solution for it? |
Hi, thanks for your report. You can not extend two classes in Java. I have a solution for that but it is not ideal. As mentioned in Flutter Android Error: How to extends MainActivity from "Two Packages" I will recommend to try and implement For exmaple: I am not sure if it will work perfectly but it totally deserves a try. |
Any progress on this? I tried changing it from Flutter activity to FlutterFragmentActivity then extending the library but now the application does not work |
Hi, In the meantime, I don't have the time to deal with it, but this is indeed a very important point, so I will leave the issue open and maybe other people will help. If you manage to solve the problem, I would appreciate it if you could make a pull request. The direction I would explore is: try and copy the entire pckage to your code and change the java code In order that the two packages will work togther. |
I am building an app that requires the use of the package but the problem is that I am using a FlutterFragment while the package uses an activity. What can I do in this case?
The code looks like this
public class MainActivity extends FlutterFragmentActivity implements GiphyDialogFragment.GifSelectionListener
The text was updated successfully, but these errors were encountered: