sahaab / HijriCalendar-master

A Hijri (Islamic) Calendar Library
Other
25 stars 21 forks source link

Entire code doesnt work #4

Closed karimo94 closed 7 years ago

karimo94 commented 7 years ago

I tried to import your code and use everything correctly as per the instructions however I get no calendar showing up on my project. One of the issues as well:

FragmentTransaction t = getSupportFragmentManager().beginTransaction(); t.replace(R.id.calendar1, caldroidFragment); t.commit();

t.replace() takes the first argument correctly, but doesn't accept a caldroidFragment, it only accepts type Fragment. Not only that but there is no such method called getSupportFragmentManager().