lilcodelab / Xamarin.Plugin.Calendar

Calendar plugin for Xamarin.Forms
MIT License
260 stars 60 forks source link

Calendar initialization #20

Closed StefanVam closed 4 years ago

StefanVam commented 4 years ago

Hi,I have some questions,when i open a page which has the Calendar

  1. Calendar seems to load twice first time
  2. It also seems to load twice when swipe to cross year

Is these something wrong i used ,below is my sample code:

var calendar = new Xamarin.Plugin.Calendar.Controls.Calendar() {
               VerticalOptions = LayoutOptions.FillAndExpand, HorizontalOptions = 
               LayoutOptions.FillAndExpand 
            };
this.Content = new StackLayout { Children = { calendar } };
PenguinPero commented 4 years ago

Both might be the same issue Second one we are aware of, it is because 2 properties change at the same time and both are queuing animation on the calendar This was not an issue on previous versions, but one bugfix where we removed Year/Month hash check caused it

We will see when me or @jsabic can fix this

StefanVam commented 4 years ago

@PenguinPero Thanks for your reply,I expect it is fixed in the near future.

antonioseric commented 4 years ago

this is fixed. it will be available in next version.