Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing firebase data into the Special Date parameter #105

Open
developersimsek opened this issue Jul 19, 2019 · 0 comments
Open

Importing firebase data into the Special Date parameter #105

developersimsek opened this issue Jul 19, 2019 · 0 comments

Comments

@developersimsek
Copy link

Hello there,
I'm sorry, I've looked at open issues, but I can't find a solution to my problem.
What I want to do; Importing the dates in the firebase database to SpecialDates. I successfully retrieve data from Firebase, but I cannot import it to the calendar. I tried this with the following method, but I didn't succeed. I would be glad if you help. Thanks in advance ...

Xaml source

<controls:Calendar
Padding="10,0,10,0"
SelectedBorderWidth="4"
DisabledBorderColor="Black"
ShowNumberOfWeek="false"
StartDay="Monday"
TitleLabelTextColor="Purple"
DateClicked="Calendar_DateClicked"
x:Name="calender"
BindingContext="{Binding Tarih}"
WeekdaysShow="True"
WeekdaysFontAttributes="Bold"
EnableTitleMonthYearView="True"
TitleLeftArrowTextColor="Blue"
SelectedDate="{Binding Date}"
SpecialDates="{Binding Tarih}"

		DateCommand="{Binding DateChosen}" >

                </controls:Calendar>

Cs Source
public Detail()
{
InitializeComponent();
DBFire data;
data = new DBFire();
Device.BeginInvokeOnMainThread(async () =>
{
calender.BindingContext = await data.GetList();

        }
     );
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant