Skip to content

Instantly share code, notes, and snippets.

View hotchemi's full-sized avatar
🏠
Working from home

Shintaro Katafuchi hotchemi

🏠
Working from home
View GitHub Profile
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 December 13, 2015 19:25
Call for paper and keynote file of Droidcon Krakow 2015.

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.