Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Shintaro Katafuchi hotchemi

🏠
Working from home
View GitHub Profile
View MainFragment.java
package permissions.dispatcher.ktx.sample;
import android.Manifest;
import android.content.Context;
import android.os.Bundle;
import android.view.View;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
@hotchemi
hotchemi / cfp.md
Last active Dec 13, 2015
Call for paper and keynote file of Droidcon Krakow 2015.
View cfp.md

Managing Runtime Permissions

In the last GoogleIO 2015, google released the new feature of Marshmallow which is called "Runtime Permissions".

It drastically changed the way to handle permissions from the previous mechanism.

The change is basically great for users but also the hell for developers.

Because developers have to write a ton of boilerplate codes and the new mechanism and api may not be easy for developers.