Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Custom ContentView renderer since post 1.3.2.6299-pre1

$
0
0

G'day,

I have a custom ContentView renderer that does not work in Xamarin.Forms > 1.3.2.6299-pre1.

The symptom is that the controls in Element.Content are not rendered. Also, The ViewRenderer's Draw override is continuously called. After a few seconds the garbage collector kicks in and posts something like "02-09 14:07:12.343 D/dalvikvm( 2315): GC_CONCURRENT freed 433K, 43% free 14937K/25928K, paused 2ms+4ms, total 27ms" every couple of hundred milliseconds.

Even if I do nothing by replace my Draw call with the following the above still happens.

    public override void Draw(Canvas canvas)
    {
        base.Draw(canvas);
    }

Has something changed that I need to know about?! If I switch back to 1.3.2.6299-pre1 or earlier it works fine again. Note that this is Android, I haven't tried iOS yet.

Regards,
Steven.


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>