Forum Xamarin.Android

onAttach Deprecated

Excuse me, I have updated my app to use API 23 (Marshmallow), but deprecated the onAttach() function of the Fragment class. Is there any solution in Xamarin? Thanks

Answers

  • kentuckerkentucker USMember ✭✭✭✭✭

    replace onAttach(Activity activity) with onAttach(Context context)

Sign In or Register to comment.