@Nullable @Override public View onCreateView( LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { rootView = inflater.inflate(R.layout.overview_layout, container, false); m_gridAdapter = new MonthGridAdapter(activity, this, 6 * 7); m_gridAdapter.setup(currentMonth); GridView g = (GridView) rootView.findViewById(R.id.gridOverview); g.setAdapter(m_gridAdapter); return rootView; }
public Calendar getCurrentDay() { if (m_gridAdapter != null) { return m_gridAdapter.getCurrentDay(); } return null; }
public void onBackPressed() { m_gridAdapter.onBackPressed(); }