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 version not displaying data #93

Closed
VailTimBrenner opened this issue May 31, 2023 · 11 comments
Closed

Android version not displaying data #93

VailTimBrenner opened this issue May 31, 2023 · 11 comments

Comments

@VailTimBrenner
Copy link

The Android version of the grid is not displaying any data, based off of testing the most recent version, unaltered, both on an Android tablet as well as an Android emulator.
AndroidDemoNotShowingData

It should be noted that the Windows version does display the data correctly in the grid.

@symbiogenesis
Copy link
Collaborator

What MAUI version and .NET version are you using?

@symbiogenesis
Copy link
Collaborator

To get to the latest MAUI version you can use the Visual Studio Installer to ensure that Visual Studio is up to date. And then you can use the CLI to try "dotnet workload update"

I am not able to reproduce this with the emulator with .NET 7 and the latest stable MAUI version.

MAUI has had all kinds of bugs fixed recently, and this project should ideally minimize the number of workarounds to support buggy versions.

But if .NET 6 on the latest MAUI version is failing, that might be more serious for us.

@symbiogenesis
Copy link
Collaborator

Also, finally, what API version is the Android Emulator set to? On API Version 33, everything is working for me.

@VailTimBrenner
Copy link
Author

VailTimBrenner commented Jun 1, 2023 via email

@VailTimBrenner
Copy link
Author

VailTimBrenner commented Jun 1, 2023 via email

@symbiogenesis
Copy link
Collaborator

symbiogenesis commented Jun 1, 2023

I'm on the newer VS 17.6 and here are my workloads:

Installed Workload Id      Manifest Version       Installation Source
--------------------------------------------------------------------------------
android                    33.0.68/7.0.100        SDK 7.0.300, VS 17.6.33723.286
ios                        16.2.2024/7.0.200      SDK 7.0.300, VS 17.6.33723.286
maccatalyst                16.2.2024/7.0.200      SDK 7.0.300, VS 17.6.33723.286
maui-maccatalyst           7.0.86/7.0.100         SDK 7.0.300, VS 17.6.33723.286
maui-ios                   7.0.86/7.0.100         VS 17.6.33723.286
maui-android               7.0.86/7.0.100         VS 17.6.33723.286
maui-windows               7.0.86/7.0.100         VS 17.6.33723.286

@VailTimBrenner
Copy link
Author

VailTimBrenner commented Jun 1, 2023 via email

@symbiogenesis
Copy link
Collaborator

Did that resolve your issue?

@VailTimBrenner
Copy link
Author

VailTimBrenner commented Jun 2, 2023 via email

@craigpj
Copy link

craigpj commented Oct 18, 2023

I was running into the same problem. No rows being rendered. Then I put the datagrid inside a ScrollView and set the HightRequest property on the ScrollView. The rows were then rendered.
I also removed the HeightRequest from the ScrollView and added the HeightRequest property on the DataGrid and the rows were rendered. HeightRequest must be set on datagrid or it's enclosing parent control/element.
MinimumHeightRequest on DataGrid does NOT work.
MaximumHeightRequest on DataGrid DOES work; like HeightRequest.

@symbiogenesis
Copy link
Collaborator

I recommend forking this project and setting up the Sample app to run inside of a ScrollView, and then filing a bug report with MAUI and linking to your forked repo. Be sure to document the exact versions of MAUI and Android.

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