Xamarin Forms: Custom Render Label Binding removing FontType

Hi everyone,

I'm facing a very weird situation with my custom rendered label after being binded, the FontType is just gone, and the default style appears. (Android)

My steps where:

  • Download any .ttf
  • Place it into the Asserts
  • Create a Label Custom Render using the .ttf (Android and PCL)
  • In the PCL create an object implementing Inotifypropertychanged
  • Bind my custom Label to X property of my object
  • Use Device.StartTimer to simulate a countdown
  • Watch how my custom label lose its font type after the first interval hits

Hope I was clear enough

Any Ideas?

Thanks in advance

Posts

Sign In or Register to comment.