question

zehguilherme avatar image
0 Votes"
zehguilherme asked JarvanZhang-MSFT commented

How can I update a component after the page is loaded?

I have a Label component on a detail page of a CollectionView where on Android it renders correctly, showing its content, however on IOS, it does not show the content, only the second time it is rendered.

The text type of this label is HTML

I put the code and prints in a GitHub gist for better organization.
- https://gist.github.com/zehguilherme/333636f81ee217914f51497790b6b31b

dotnet-xamarin
· 8
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

however on IOS, it does not show the content, only the second time it is rendered

Hi, @zehguilherme Is there any difference between the two rendering? Please post the related code or share a basic demo to reproduce the issue, it'll help to get the cause to the problem.

0 Votes 0 ·

I updated the body of the question with the code and prints for better understanding.

0 Votes 0 ·

It seems you test a Shell application. The code are all in the shared project which should not have the different result between iOS and Android. I tested a basic demo about the function, it works as expected on iOS. Try to create a new Flyout template project and test to check if it could work on iOS on your side. If it works, please refer to the new project code to get the difference.

0 Votes 0 ·
Show more comments

0 Answers