#droidconpl2015

Опубликовано: 29 Июль 2026
на канале: droidcon Krakow
268
2

One of the topics from droidcon Kraków 2015. Watch and see what you've missed.
---------
Introduction: ## Summary

I'm gonna talk about what actually the changing of Runtime Permissions is and how to manage it well, with my library "PermissionsDispatcher" which solves the problem that writing a ton of boiler plate codes.
https://github.com/hotchemi/Permissio...

Detail

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.

For example
`shouldShowRationale` is a really confusing method
There is a lot of class which have methods about permissions, PermissionChecker, ContextCompat, ActivityCompat, FragmentCompat, etc...

So in this session, I'm gonna talk about what actually the change is and how to manage permissions well. And I'm also gonna introduce the usage of my library "PermissionsDispatcher", which solves the problem that writing a ton of boilerplate codes.

https://github.com/hotchemi/Permissio...