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

AppWidget support - Problem loading Widget #558

Closed
1 task done
KLT1003 opened this issue Sep 22, 2020 · 3 comments
Closed
1 task done

AppWidget support - Problem loading Widget #558

KLT1003 opened this issue Sep 22, 2020 · 3 comments

Comments

@KLT1003
Copy link

KLT1003 commented Sep 22, 2020

Issues and steps to reproduce

I tried to build an AppWidget according to https://developer.android.com/guide/topics/appwidgets with a FlexBoxLayout as the widgets main layout. Just put some simple Textview with fixed width/height (e.g. 80dp) as inner elements for testing purposes. As soon as I try to create the widget I get the appropriate calls (onReceive, onEnabled, onUpdate, etc.) but the Widget shows "Problem loading widget".
Logcat does not show any details to the cause (normally I would expect some layout inflating issues in the logcat).
Does flexbox-layout support AppWidgets?

Expected behavior

Flexbox layout should work within an AppWidget.

Version of the flexbox library

2.0.1

@dutscher
Copy link

dutscher commented Feb 8, 2021

+1

@thagikura
Copy link
Contributor

No it's not supported at this moment.

As far as I concern, it's not supported to use layouts or views from non-Android framework libraries at this moment.

@KLT1003
Copy link
Author

KLT1003 commented May 17, 2021

Unfortunate and also understandable that it's not a priority, but for clarification the widgets are native Android features and not a non-Android framework library.

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

3 participants