Created
December 11, 2017 03:24
-
-
Save mitchtabian/b6b4c8c60d8481288539aa789d0c45ae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public void onAttach(Context context) { | |
super.onAttach(context); | |
try{ | |
mOnInputListener = (OnInputListener) getActivity(); | |
}catch (ClassCastException e){ | |
Log.e(TAG, "onAttach: ClassCastException: " + e.getMessage() ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment