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().
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()
.