:ballot_box_with_check: [Cheatsheet] Tips and tricks for Android Development

Overview

Image

Cheatsheet about tips and tricks for Android Development.

This is a simple set of tips and tricks regarding Android Development which I have gathered from various sources. It helps me direct other android devs in my community regarding stuff each android dev should know about. It is also there for me to keep track of anything I either learn on my own or from other sources now and then when browsing the internet.

Contributions are always welcome, hoping people will help me in growing this. To contribute, simply open up a PR with the changes.

Click here to navigate to the searchable book version

Show some ♥️ and 🌟 the repo to support the project

GitHub stars GitHub forks GitHub watchers GitHub followers

Featured in

Android Weekly AndroidDev Digest awesome-android

Also included in

Credits

This curated cheatsheet includes tips and tricks that I have been following in my workflow as well as those being suggested/followed by other android devs worldwide.I have tried to add direct links wherever I could remember, giving people due credit who have explained the concepts. If you think I have missed any, then either send a PR or open an issue and I will fix it asap.

If you appreciate my work, consider buying me a cup of ☕️ to keep me recharged 🤘🏼 [PayPal]

Twitter Follow

License

Copyright 2016 Nishant Srivastava

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Comments
  • KeyPromoter is out dated and doesn't work.

    KeyPromoter is out dated and doesn't work.

    KeyPromoter is outdated and doesn't work on Android Studio anymore -- using AS 2.2 RC on OS X El Capitan. However, there is an active fork for the same - https://github.com/athiele/key-promoter-fork.

    opened by the-jedi-droid 5
  • pidcat seems not work now

    pidcat seems not work now

    just as https://github.com/JakeWharton/pidcat says.

    do brew install pidcat , then pidcat com.xxx.xxx . but Nothing occur.

    Did your pidcat works now? My environment is MacPro with newest android_sdk.

    opened by wispy316 3
  • Added a JSON Generator and removed dead link

    Added a JSON Generator and removed dead link

    What does this implement/fix? Explain your changes

    Hi, I removed the dead link to http://apistudio.io/. And I added extendsclass an online JSON Generator.

    Does this close any currently open issues?

    • [ ] Yes
    • [x] No
    opened by cyrilbois 2
  • Key Promoter is old but good news: Key Promoter X

    Key Promoter is old but good news: Key Promoter X

    There is a recent version of the key promoter written (maintained) by the same guy. Maybe you can redirect to newer version.It is still annoying though 😄

    https://plugins.jetbrains.com/plugin/9792-key-promoter-x

    opened by limonkufu 1
  • Update Readme.md

    Update Readme.md

    The links you have provided for Complete Keymap Guide: MacOSX | Linux/Win are both returning 403 Forbidden

    Code: AccessDenied Message: Access Denied RequestId: A0148F9A75574601 HostId: o36E9n3lNLg/BaSwa7p8iiNAV0CqgLj8LwO6niJANxf9B9HhW/0ljUj+0ke6dEAOHg3pKn7KuoE=

    I found a link from the JetBrains website which contains a pdf with both the Win/Linux and MacOSX Complete Keymap Guide and changed the link to it.

    opened by sstoyanova 1
  • Cannot find development branch to make PR to.

    Cannot find development branch to make PR to.

    So I wanted to add the following point -

    Always use a development and a master branch in your projects
    

    But I cannot send the PR, because your project does not have a development branch. And PRs should be made to development branch only. Damn.

    opened by championswimmer 1
  • Update working-with-gradle-wrapper.md

    Update working-with-gradle-wrapper.md

    What does this implement/fix? Explain your changes Updates the Gradle property that needs to be set for utilising build cache

    Does this close any currently open issues?

    • [ ] Yes
    • [x] No

    Any relevant logs, error output, bug-report etc?

    Any other comments?

    • Where has this been tested?

    • Target Platform:

    • Configuration Information:

    • Misc:

    opened by rashanjyot 0
  • Use implementation over compile

    Use implementation over compile

    Use implementation over compile in reference local aar files as below. Some re-indention too.

    Also, note that the currently recommended way to do this via Android Studio is:

    1. Introduce a new module by importing the aar via Android Studio.
    2. add implementation project(':') in the build.gradle dependencies of your apps.

    So maybe we should consider removing this.

    opened by mTwTm 0
  • 📖 Guest Book 🙇🏻‍♂️

    📖 Guest Book 🙇🏻‍♂️

    This "issue" serves as a guest book. You're welcome to write nice things about this project, share how it's helped you out or solve problems.

    Idea came from this tweet.

    opened by nisrulz 0
Owner
Nishant Srivastava
non-GDE Android Engineer crushing code 👨🏻‍💻
Nishant Srivastava
[] Easily create a simple, attractive and seamless custom action bar style for your Android application

Android Action Bar Style Generator ####DEPRECATED: Consider using Toolbar or its support library equivalent.#### The Android Action Bar Style Generato

Jeff Gilfelt 1k Nov 10, 2022
A library that converts Time to its equivalent local languages starting with some basic Nigeria languages(Yoruba, Hausa, Igbo, Efik and English)

Language_Time A library which converts "Time" to its equivalent local languages starting with some basic Nigeria languages like -(Yoruba, Hausa, Igbo,

Adetuyi Tolu Emmanuel 51 Feb 9, 2021
Blogs about Android

Android Blogs See also: https://github.com/vbauer/java-blogs Groups & Companies Androcid http://www.androcid.com Androidized http://www.androidized.co

Vladislav Bauer 499 Nov 13, 2022
Gradle plugin that creates FindBugs reports for android projects

findbugs-android A Gradle plugin that creates FindBugs tasks for each variant of android application or library project Project site: https://findbugs

Chaitanya Pramod 131 Dec 29, 2022
Learn How to use Google Map API for Android from Basic to Advance with complete examples.

Complete-Google-Map-API-Tutorial Learn How to use Google Map API for Android from Basic to Advance. Satellite View 3D Building Map and StreetView Lear

Next 117 Dec 8, 2022
Convenience extension methods for android's auto-generated /res folder R. class.

Android Resource Extensions Convenience extension methods for android's auto-generated /res folder R. class. Basically everything in your res/ and /as

Jan Rabe 41 Jul 21, 2022
ResOf is an android resource wrapper library.

An android resource wrapper library.

Joseph Wang 26 Jun 13, 2022
Sample to show how to implement blur graphical tricks

BlurEffectForAndroidDesign Sample to show how to implement blur graphical tricks All the explanations could be found here: http://nicolaspomepuy.fr/?p

Nicolas POMEPUY 2k Dec 28, 2022
Sample to show how to implement blur graphical tricks

BlurEffectForAndroidDesign Sample to show how to implement blur graphical tricks All the explanations could be found here: http://nicolaspomepuy.fr/?p

Nicolas POMEPUY 2k Dec 28, 2022
An app that is a one-stop destination for all the CS enthusiasts, providing resources like Information scrapping techniques, best YT channels, courses available free-of-cost, etc. & knowledge about every domain and field that exists on the Internet related to Computer Science along with News, Jobs, and Internships opportunities in these domains along with valuable tips and hacks from mentors for a particular domain.

An app that is a one-stop destination for all the CS enthusiasts, providing resources like Information scrapping techniques, best YT channels, courses available free-of-cost, etc. & knowledge about every domain and field that exists on the Internet related to Computer Science along with News, Jobs, and Internships opportunities in these domains along with valuable tips and hacks from mentors for a particular domain.

CSwala 48 Nov 26, 2022
Some tips for developers who will involve Jetpack Compose in new APPs

Compose TakeAway 给即将用Jetpack Compose开发APP的开发人员 1. Jetpack Compose vs Xml Pros: 声明式UI,纯kotlin 代码更少 可直接兼容现有View - 双向兼容 性能更好(measure次数减少...) UI自定义更简单 没有a

Le 2 Mar 24, 2022
Tools & tips to learn about recomposition in Jetpack Compose

⚡ Recomposition in Jetpack Compose List of practical tips and code snippets to avoid unnecessary recomposition in Jetpack Compose. This is an active r

Aida Issayeva 62 Nov 22, 2022
An introductory dynamics to Test Driven Development (TDD)An introductory dynamics to Test Driven Development (TDD)

tdd-demo Nesse hands-on teremos uma dinâmica introdutória a Test Driven Development (TDD), ou desenvolvimento orientado por testes. instruções 1 - Clo

Plataforma Impact 1 Jan 15, 2022
Vaibhav Jaiswal 57 Jan 3, 2023
Taskify - An app to manage your daily tasks and boost your productivity. Taskify is built using kotlin and follows all modern android Development practices and hence is a good learning resource for beginners

Taskify Taskify is an app to manage your daily tasks and boost your productivity Video Introduction ?? This is a small introduction video about Taskif

Vaibhav Jaiswal 101 Jan 4, 2023
🎥 A Simple and Minimal Movies Android Application to demonstrate the Modern Android Development and Jetpack Compose.

ComposeMovie Android ?? A Simple and Minimal Movies Android Application to demonstrate the Modern Android Development and Jetpack Compose. Built with

null 13 Oct 1, 2022
Sentinel is a simple one screen UI which provides a standardised entry point for tools used in development and QA alongside device, application and permissions data.

Sentinel Sentinel is a simple one screen UI that provides standardised entry point for tools used in development and QA alongside device, application

Infinum 29 Dec 12, 2022
Android-application used as an introduction to Android development and Android APIs.

Android-application used as an introduction to Android development and Android APIs. This application is an implementation of the game Thirty and written in Kotlin.

Oscar Johansson 0 Nov 6, 2021
Aggregated Android news, articles, podcasts and conferences about Android Development

DroidFeed Curated news feed for Android Developers! Stay up to date with the latest Android Development news. Built for the Android developer communit

Dogan Gulcan 183 Dec 2, 2022
A plugin for Android Studio and Intellij IDEA that speeds up your day to day android development.

ADB Idea A plugin for Android Studio and Intellij IDEA that speeds up your day to day android development. The following commands are provided: Uninst

Philippe Breault 2k Dec 28, 2022