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

[Android] SwipeRefresh content not showing on devices #35

Open
Guidemarcus opened this issue Apr 22, 2022 · 2 comments
Open

[Android] SwipeRefresh content not showing on devices #35

Guidemarcus opened this issue Apr 22, 2022 · 2 comments

Comments

@Guidemarcus
Copy link
Contributor

Guidemarcus commented Apr 22, 2022

Expected Behavior

SwipeRefresh content should be shown on the page

Actual Behavior

SwipeRefresh content does not show on device. Content is empty for no apparent reason.
Android -> the content is not show on screen

Steps to Reproduce the Problem

checkout branch dev/math/SwipeRefreshSample from UnoApplicationTemplate. Or use a a DataLoaderView with a SwipeRefresh inside and a Listview inside the SwipeRefresh. (or anything like that)

Assumptions to fix

You'll need to change the control to propagate the DataContext by searching for the parent of the control (if it is a FrameworkElement), then hook onto the DataContextChanged event, then propagate it down the Content property value.

Change that introduced the bug

https://github.com/nventive/Nventive.View/pull/31/files#diff-b348512748339383ddffd580492f3bb1af21b0a15dc64a4b7f18ad0e5d5edf80

Specifications

  • Version: latest dev (0.4.0-dev.33)
  • Platform: Android
  • Subsystem: VS 2022 17.1.0

reference: https://github.com/unoplatform/nventive-private/issues/386

@Guidemarcus
Copy link
Contributor Author

Guidemarcus commented Apr 22, 2022

workaround found
MicrosoftTeams-image

@carlh98
Copy link
Contributor

carlh98 commented Aug 30, 2022

@Guidemarcus A fix was merge unoplatform/uno#9444
Do you need a backport?

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