trello-archive / RxLifecycle

Lifecycle handling APIs for Android apps using RxJava
Apache License 2.0
7.71k stars 638 forks source link

RxFragment should extend Fragment from androidX #334

Closed iadeelzafar closed 4 years ago

iadeelzafar commented 4 years ago

I use fragments from androidx library in my project. In a custom fragment when extending the RxFragment class, I cannot access the methods of androidx fragment class because RxFragment extends android.app.Fragment

Can we get RxFragment to extend androidx.fragment.app.Fragment

dlew commented 4 years ago

This already exists in the library.

Similar question from before: https://github.com/trello/RxLifecycle/issues/328#issuecomment-700732585