Null reference
Closed this issue · 5 comments
songurov commented
void BringLayer() {
_layer.Layer.RemoveAllAnimations();
_layer.Alpha = _alpha;
View.BringSubviewToFront(_layer);
}
mrxten commented
What concrete is null?
… On 25 May 2019, at 22:56, Songurov Fiodor ***@***.***> wrote:
void BringLayer() {
_layer.Layer.RemoveAllAnimations();
_layer.Alpha = _alpha;
View.BringSubviewToFront(_layer);
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
mrxten commented
and how you got this exception?
Kornelis commented
I guess the Issue is related to XF 4.0 and the Fast Renderes. I have a similar Issue with XF 4.0 (Android) when setting the TouchEffect on a Label as the Container Property of the PlatformEffect is null, so a NullRef Exception is thrown in the OnAttched Method. Not sure how this can be "workarounded".
mrxten commented
Yes, unfortunately effect doesn't work with fast renderers. Try wrap needed view with contentview
mrxten commented
Specified in readme.