Android Studio: Calling Function (like checkSelfPermission) of MainActivity from another class

前端 未结 0 1637
温柔的废话
温柔的废话 2021-01-20 22:34

I have been using this function that I declared in MainActivity Class:

 public  boolean isStoragePermissionGranted() {
    if (Build.VERSION.SDK_INT >= Bui         


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