Skip to content

Commit

Permalink
Fix a wrong process
Browse files Browse the repository at this point in the history
It has been determined that activity belongs to FragmentActivity , so should use the get() method of FragmentActivity
  • Loading branch information
mumu authored Jul 26, 2019
1 parent 525e7ba commit 2193306
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public RequestManager get(@NonNull View view) {
// prefer to just fall back to the Activity directly.
if (activity instanceof FragmentActivity) {
Fragment fragment = findSupportFragment(view, (FragmentActivity) activity);
return fragment != null ? get(fragment) : get(activity);
return fragment != null ? get(fragment) : get((FragmentActivity) activity);
}

// Standard Fragments.
Expand Down

0 comments on commit 2193306

Please sign in to comment.