Android - onAttach(Context) not called for API 23

前端 未结 7 953
离开以前
离开以前 2020-12-08 05:46

I\'ve updated the SDK to the latest version (API 23) and the onAttach(Activity) method for fragment is deprecated. So instead of using that method, now I\'m usi

7条回答
  •  生来不讨喜
    2020-12-08 06:47

    pleas post about this BUG here

    ISSUE OPPENED ON GOOGLE AOSP PROJECT HOMESITE:

    https://code.google.com/p/android/issues/detail?id=185465

    ps. this is not your job to search for solution to this problem & to find any kind of workarounds .. but to force google to fix its broken API! to do this u need to complain as i said.

    related issue - getContext() from fragment:

    https://code.google.com/p/android/issues/detail?id=185848

提交回复
热议问题