tbruyelle / RxPermissions

Android runtime permissions powered by RxJava2
Apache License 2.0
10.48k stars 1.31k forks source link

no support Activity 0.10.2 #284

Open cbo3344 opened 5 years ago

cbo3344 commented 5 years ago

How to support Activity ?Current version 0.10.2 only support Fragment and FragmentActivity.

zhouzhiqiangzzq commented 5 years ago

+1

HaiLe commented 5 years ago

Activity <- FragmentActivity <- AppCompatActivity <- ActionBarActivity

if your activity is inherited from either FragmentActivity, AppCompatActivity or ActionBarActivity, then it should work?

ouihon commented 4 years ago

Activity <- FragmentActivity <- AppCompatActivity <- ActionBarActivity

if your activity is inherited from either FragmentActivity, AppCompatActivity or ActionBarActivity, then it should work?

I've tried AppCompatActivity, however still can't be applied . So sad

zhaolin8 commented 4 years ago

+1

epool commented 4 years ago

@ouihon if you check the demo activity you'll se that the demo is working fine with AppCompatActivity.