The current implementation uses methods like getActivity to get the fragment owner activity, this could be set using onAttach instead.
Many methods created in a default Fragment from Android Studio should probably be used instead.
More info here: https://developer.android.com/training/basics/fragments/communicating.html
The current implementation uses methods like getActivity to get the fragment owner activity, this could be set using onAttach instead.
Many methods created in a default Fragment from Android Studio should probably be used instead.
More info here: https://developer.android.com/training/basics/fragments/communicating.html