Skip to content

[Android] SwipeRefresh content not showing on devices #35

@Guidemarcus

Description

@Guidemarcus

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions