Created
June 26, 2015 20:54
-
-
Save emedinaa/90db3a227c48d5726649 to your computer and use it in GitHub Desktop.
Recibir parámetros en un Fragments
This file contains hidden or 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
| private String mParam1; | |
| private int mParam2; | |
| public void loadData() { | |
| if (getArguments() != null) { | |
| mParam1 = getArguments().getString("MYSTRING"); | |
| mParam2 = getArguments().getInt("MYINT"); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment