public class GalleryButton extends ImageButton implements PermissionRequest.Response
Constructor and Description |
---|
GalleryButton(Context context) |
GalleryButton(Context context,
AttributeSet attrs) |
GalleryButton(Context context,
AttributeSet attrs,
int defStyle) |
Modifier and Type | Method and Description |
---|---|
void |
permissionDenied()
Would be called if any permission are denied
|
void |
permissionGranted()
Would be called if the permissions are granted
|
public GalleryButton(Context context)
public GalleryButton(Context context, AttributeSet attrs)
public GalleryButton(Context context, AttributeSet attrs, int defStyle)
public void permissionDenied()
PermissionRequest.Response
permissionDenied
in interface PermissionRequest.Response
public void permissionGranted()
PermissionRequest.Response
permissionGranted
in interface PermissionRequest.Response