Skip to content

Instantly share code, notes, and snippets.

View FareesHussain's full-sized avatar
🍴
Forking

Farees Hussain FareesHussain

🍴
Forking
View GitHub Profile
@FareesHussain
FareesHussain / EasyPermissionsLibrary.md
Last active July 29, 2020 08:44
checking permissions and requesting permissions in android

description:

  • checking the permission like location permissions are accepted or not
  • asking permissions
  • messge when permissions are permanently denied

dependencies: inside build.gradle(app)

dependencies{

..

@FareesHussain
FareesHussain / viewBinding
Last active July 29, 2020 07:52
steps to get rid of findViewById() using kotlin-android-extensions
Steps
1. add the following in build.gradle(app)
android{
..
buildFeatures{
viewBinding true
}
}