Why do we use Context Compat and Activity Compat?

后端 未结 0 1318
庸人自扰
庸人自扰 2021-01-03 10:49

I was writing a code which asks user the permission to use location:

if(ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != P         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题