Use getActivity instead of getContext for backporting.
Since fragments did not have getContext until API level 23, use getActivity instead because the activity is the context for fragments. Bug: 25776171 Change-Id: I1f74f41932b29b9a84d2d5158a9b9c53c28e953a
Loading
Please register or sign in to comment