question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ErrorPlaceHolder ErrorCommand not working on Android

See original GitHub issue

I have a problem with the ErrorPlaceholder on Android. I set in XAML the ViewCell like under and on iOS it is OK but the ErrorPlaceholder disappear On Android. <StackLayout IsVisible="{Binding VisuelIsVisible}" HeightRequest="{Binding VisuelHeight}" Spacing="0" VerticalOptions="Start">

<ffimageloading:CachedImage ErrorCommand=“{Binding ErrorLoadingCommand}” Source=“{Binding VisuelImageSource}” Aspect=“AspectFill” WidthRequest=“{Binding VisuelWidth}” HeightRequest=“{Binding VisuelHeight}”>`

		`<ffimageloading:CachedImage.LoadingPlaceholder>`
			`<OnPlatform x:TypeArguments="ImageSource"`
					              `     iOS="Images/NoPics/error_picture.png"`
					               `     Android="error_picture.png"`
					                  `  WinPhone=""/>`
		</ffimageloading:CachedImage.LoadingPlaceholder>`
		`<ffimageloading:CachedImage.ErrorPlaceholder>`
			`<OnPlatform x:TypeArguments="ImageSource"`
					                  `  iOS="Images/NoPics/error_picture.png"`
					                   ` Android="error_picture.png"`
					                 `   WinPhone=""/>`
		`</ffimageloading:CachedImage.ErrorPlaceholder>`
	`</ffimageloading:CachedImage>`

</StackLayout>

Sorry for code indentation . ``

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
daniel-luberdacommented, May 10, 2017

Hi @AndreiMisiukevich, great fix! I’ll merge it. Thanks 😃

1reaction
AndreiMisiukevichcommented, May 10, 2017

Thanks a lot for help, colleagues! @goldenkeyz-plaroche @XavierQuincieux

@daniel-luberda , Validate please my PR with potential fix

Read more comments on GitHub >

github_iconTop Results From Across the Web

Anyone can tell me how to fix this, place holder, and error
1 Answer 1 · Copy image from your computer · Right click on drawable folder and click paste. drawable folder · Choose drawable...
Read more >
Solution of command not found adb Error
About this Error: (command not found adb) if you have not installed adb on your system or if the path of adb is...
Read more >
Addressing common errors in React Native
Explore common React Native errors such as "command not found" and learn about their causes and potential solutions.
Read more >
I can't run react-native run-android
I'd try to run react-native run-android but it always fails and appears error like this: JS server already running. Building and installing the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found