List of usage examples for android.support.v4.app SupportActivity toString
public String toString()
From source file:mobisocial.bento.ebento.ui.RsvpFragment.java
@Override public void onAttach(SupportActivity activity) { super.onAttach(activity); try {//from w w w . ja v a2 s. c om mListener = (OnRsvpSelectedListener) activity; } catch (ClassCastException e) { throw new ClassCastException(activity.toString() + " must implement OnRsvpSelectedListener"); } }
From source file:ca.mudar.mtlaucasou.BaseListFragment.java
/** * Attach a listener/* w w w . j ava 2 s . c o m*/ */ @Override public void onAttach(SupportActivity activity) { super.onAttach(activity); try { mListener = (OnPlacemarkSelectedListener) activity; } catch (ClassCastException e) { throw new ClassCastException(activity.toString() + " must implement OnPlacemarkSelectedListener"); } }
From source file:ca.mudar.mtlaucasou.BaseMapFragment.java
/** * Attach a listener./* w w w.ja v a2s .c o m*/ */ @Override public void onAttach(SupportActivity activity) { super.onAttach(activity); try { mListener = (OnMyLocationChangedListener) activity; } catch (ClassCastException e) { throw new ClassCastException(activity.toString() + " must implement OnMyLocationChangedListener"); } }
From source file:mobisocial.bento.todo.ui.TodoListFragment.java
@Override public void onAttach(SupportActivity activity) { super.onAttach(activity); try {// ww w . j ava 2 s. c o m mListener = (OnBentoSelectedListener) activity; } catch (ClassCastException e) { throw new ClassCastException(activity.toString() + " must implement OnRsvpSelectedListener"); } }
From source file:com.todoroo.astrid.activity.FilterListFragment.java
@Override public void onAttach(SupportActivity activity) { super.onAttach(activity); // Check that the container activity has implemented the callback interface try {/*from w w w . ja va 2 s .c o m*/ mListener = (OnFilterItemClickedListener) activity; adapter = instantiateAdapter(); } catch (ClassCastException e) { throw new ClassCastException(activity.toString() + " must implement OnFilterItemClickedListener"); //$NON-NLS-1$ } }