Applic.getInstance().caldroidFragment = new CaldroidFragment();
Bundle args = new Bundle();
Calendar cal = Calendar.getInstance();
args.putInt(CaldroidFragment.MONTH, cal.get(Calendar.MONTH) + 1);
args.putInt(CaldroidFragment.YEAR, cal.get(Calendar.YEAR));
args.putBoolean(CaldroidFragment.ENABLE_SWIPE, true);
args.putBoolean(CaldroidFragment.SIX_WEEKS_IN_CALENDAR, true);
Applic.getInstance().caldroidFragment.setArguments(args);
fragmentManager = home.getSupportFragmentManager();
fragmentManager.beginTransaction().add(R.id.container, Applic.getInstance().caldroidFragment, "calendar").commit();
((Home) fragment.getActivity()).fragmentManager.beginTransaction().replace(R.id.container, Applic.getInstance().caldroidFragment).commit();
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.






0 comentários:
Postar um comentário