Giter Club home page Giter Club logo

Comments (7)

rebeccaXam avatar rebeccaXam commented on July 21, 2024

Thanks for reporting the issue. I can reproduce this problem in Windows UWP in release mode. Did you see this problem on any other platform?

I looked into it and somehow the ExportRenderer is not working.
Try adding this to your UWP projects AssemblyInfo.cs file:

[assembly:Xamarin.Forms.Platform.UWP.ExportRenderer(typeof(XamForms.Controls.CalendarButton), typeof(XamForms.Controls.Windows.CalendarButtonRenderer))]

from xamforms.controls.calendar.

zawadzkip avatar zawadzkip commented on July 21, 2024

@rebeccaXam I emailed you back before reading the assembly code. What will I have to do to make this work for iOS and Android? I'm guessing...

[assembly:Xamarin.Forms.Platform.iOS.ExportRenderer(typeof(XamForms.Controls.CalendarButton), typeof(XamForms.Controls.iOS.CalendarButtonRenderer))]

[assembly:Xamarin.Forms.Platform.Android.ExportRenderer(typeof(XamForms.Controls.CalendarButton), typeof(XamForms.Controls.Android.CalendarButtonRenderer))]

from xamforms.controls.calendar.

zawadzkip avatar zawadzkip commented on July 21, 2024

After re-testing, the issue does not exist on android but does exist on iOS.

from xamforms.controls.calendar.

zawadzkip avatar zawadzkip commented on July 21, 2024

@rebeccaXam Just wanted to confirm that the issue still exists on iOS, even after updating to 1.0.4

from xamforms.controls.calendar.

Teviko avatar Teviko commented on July 21, 2024

In 1.0.7, this issue still exists on iOS release build. When changing month, the days do not update properly. But it is fine in iOS debug build.
Although I can still enable debugging option in the iOS release build, to deploy a larger app and dismiss this issue.
Hope someone has a solution to fix this issue.

from xamforms.controls.calendar.

Teviko avatar Teviko commented on July 21, 2024

#10

from xamforms.controls.calendar.

snem1216 avatar snem1216 commented on July 21, 2024

The fix that was shown in the README did not work for me, I had to do this instead in the platform project's AssemblyInfo.cs:
[assembly: Xamarin.Forms.ExportRenderer(typeof(XamForms.Controls.CalendarButton), typeof(XamForms.Controls.<Platform>.CalendarButtonRenderer))]
ExportRenderer is no longer in the platform-specific namespaces it seems.

from xamforms.controls.calendar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.