java.lang.RuntimeException: apps.radwin.zxingprojectfragmenttwo.MainActivity@44cf550 must implement OnFragmentInteractionListener* Activities that contain this fragment must implement the private
java.lang.ClassCastException: stockquote.anirudh.com.stockquote.MainActivity@19a16f79 must implement OnFragmentInteractionListener* Activities that contain this fragment must implement the
* {@link NavigationDrawerFragment.OnFragmentInteractionListenerTODO: Rename and change types
TODO: Rename and change types of parametersprivate String mParam2;
public void onAttach(Context context) { if (context instanceof OnFragmentInteractionListener) {
mListe
jammerbugtevent.MainActivity}: java.lang.ClassCastException: dk.gruppe2.jammerbugtevent.MainActivity@429e4a70 must implement OnFragmentInteractionListener当我实现OnFragmentInteractionListener时,我会得到以下错误:
Error:(22, 9) error: MainActivity is not abstract and doesnot override abstract met