René's URL Explorer Experiment


Title: GitHub - AppBaseLib/AndroidBestPractices: Do's and Don'ts for Android development, by Futurice developers

Open Graph Title: GitHub - AppBaseLib/AndroidBestPractices: Do's and Don'ts for Android development, by Futurice developers

X Title: GitHub - AppBaseLib/AndroidBestPractices: Do's and Don'ts for Android development, by Futurice developers

Description: Do's and Don'ts for Android development, by Futurice developers - AppBaseLib/AndroidBestPractices

Open Graph Description: Do's and Don'ts for Android development, by Futurice developers - AppBaseLib/AndroidBestPractices

X Description: Do's and Don'ts for Android development, by Futurice developers - AppBaseLib/AndroidBestPractices

Opengraph URL: https://github.com/AppBaseLib/AndroidBestPractices

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:1ac7b2ad-50ee-5900-bea5-c0b9e2ec6eb9
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-id800A:9FEF5:22FB141:2E5360D:697D4431
html-safe-noncee1825d4e1c986a63fa719d1a0e0859cf6373337ba9dc706b14cd938ad93b0a59
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDBBOjlGRUY1OjIyRkIxNDE6MkU1MzYwRDo2OTdENDQzMSIsInZpc2l0b3JfaWQiOiI1NjE1MzczMzkyODQxMzYwNDMzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac0a41a0ab54c34f54269fd1d69fcbefb8659a42cf8885af1cbdc97f161f2a5e1b
hovercard-subject-tagrepository:148255328
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/AppBaseLib/AndroidBestPractices
twitter:imagehttps://opengraph.githubassets.com/3d6fb32afd6f238cc36c827710e48864a42f27094937944da9193781c0b35606/AppBaseLib/AndroidBestPractices
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3d6fb32afd6f238cc36c827710e48864a42f27094937944da9193781c0b35606/AppBaseLib/AndroidBestPractices
og:image:altDo's and Don'ts for Android development, by Futurice developers - AppBaseLib/AndroidBestPractices
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6
turbo-cache-controlno-preview
go-importgithub.com/AppBaseLib/AndroidBestPractices git https://github.com/AppBaseLib/AndroidBestPractices.git
octolytics-dimension-user_id17951112
octolytics-dimension-user_loginAppBaseLib
octolytics-dimension-repository_id148255328
octolytics-dimension-repository_nwoAppBaseLib/AndroidBestPractices
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id22374063
octolytics-dimension-repository_parent_nwofuturice/android-best-practices
octolytics-dimension-repository_network_root_id22374063
octolytics-dimension-repository_network_root_nwofuturice/android-best-practices
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7c85641c598ad130c74f7bcc27f58575cac69551
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/AppBaseLib/AndroidBestPractices#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAppBaseLib%2FAndroidBestPractices
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAppBaseLib%2FAndroidBestPractices
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=AppBaseLib%2FAndroidBestPractices
Reloadhttps://github.com/AppBaseLib/AndroidBestPractices
Reloadhttps://github.com/AppBaseLib/AndroidBestPractices
Reloadhttps://github.com/AppBaseLib/AndroidBestPractices
AppBaseLib https://github.com/AppBaseLib
AndroidBestPracticeshttps://github.com/AppBaseLib/AndroidBestPractices
futurice/android-best-practiceshttps://github.com/futurice/android-best-practices
Notifications https://github.com/login?return_to=%2FAppBaseLib%2FAndroidBestPractices
Fork 0 https://github.com/login?return_to=%2FAppBaseLib%2FAndroidBestPractices
Star 0 https://github.com/login?return_to=%2FAppBaseLib%2FAndroidBestPractices
View license https://github.com/AppBaseLib/AndroidBestPractices/blob/master/LICENSE
0 stars https://github.com/AppBaseLib/AndroidBestPractices/stargazers
3.3k forks https://github.com/AppBaseLib/AndroidBestPractices/forks
Branches https://github.com/AppBaseLib/AndroidBestPractices/branches
Tags https://github.com/AppBaseLib/AndroidBestPractices/tags
Activity https://github.com/AppBaseLib/AndroidBestPractices/activity
Star https://github.com/login?return_to=%2FAppBaseLib%2FAndroidBestPractices
Notifications https://github.com/login?return_to=%2FAppBaseLib%2FAndroidBestPractices
Code https://github.com/AppBaseLib/AndroidBestPractices
Pull requests 0 https://github.com/AppBaseLib/AndroidBestPractices/pulls
Actions https://github.com/AppBaseLib/AndroidBestPractices/actions
Projects 0 https://github.com/AppBaseLib/AndroidBestPractices/projects
Security 0 https://github.com/AppBaseLib/AndroidBestPractices/security
Insights https://github.com/AppBaseLib/AndroidBestPractices/pulse
Code https://github.com/AppBaseLib/AndroidBestPractices
Pull requests https://github.com/AppBaseLib/AndroidBestPractices/pulls
Actions https://github.com/AppBaseLib/AndroidBestPractices/actions
Projects https://github.com/AppBaseLib/AndroidBestPractices/projects
Security https://github.com/AppBaseLib/AndroidBestPractices/security
Insights https://github.com/AppBaseLib/AndroidBestPractices/pulse
Brancheshttps://github.com/AppBaseLib/AndroidBestPractices/branches
Tagshttps://github.com/AppBaseLib/AndroidBestPractices/tags
https://github.com/AppBaseLib/AndroidBestPractices/branches
https://github.com/AppBaseLib/AndroidBestPractices/tags
246 Commitshttps://github.com/AppBaseLib/AndroidBestPractices/commits/master/
https://github.com/AppBaseLib/AndroidBestPractices/commits/master/
translationshttps://github.com/AppBaseLib/AndroidBestPractices/tree/master/translations
translationshttps://github.com/AppBaseLib/AndroidBestPractices/tree/master/translations
LICENSEhttps://github.com/AppBaseLib/AndroidBestPractices/blob/master/LICENSE
LICENSEhttps://github.com/AppBaseLib/AndroidBestPractices/blob/master/LICENSE
README.mdhttps://github.com/AppBaseLib/AndroidBestPractices/blob/master/README.md
README.mdhttps://github.com/AppBaseLib/AndroidBestPractices/blob/master/README.md
READMEhttps://github.com/AppBaseLib/AndroidBestPractices
Licensehttps://github.com/AppBaseLib/AndroidBestPractices
https://github.com/AppBaseLib/AndroidBestPractices#best-practices-in-android-development
Futuricehttp://www.futurice.com
iOS Good Practiceshttps://github.com/futurice/ios-good-practices
Windows App Development Best Practiceshttps://github.com/futurice/windows-app-development-best-practices
https://android-arsenal.com/details/1/1091
https://spiceprogram.org/
https://github.com/AppBaseLib/AndroidBestPractices#summary
Use Gradle and its default project structurehttps://github.com/AppBaseLib/AndroidBestPractices#build-system
https://github.com/AppBaseLib/AndroidBestPractices#use-gradle-and-its-default-project-structure
Put passwords and sensitive data in gradle.propertieshttps://github.com/AppBaseLib/AndroidBestPractices#gradle-configuration
https://github.com/AppBaseLib/AndroidBestPractices#put-passwords-and-sensitive-data-in-gradleproperties
Use the Jackson library to parse JSON datahttps://github.com/AppBaseLib/AndroidBestPractices#libraries
https://github.com/AppBaseLib/AndroidBestPractices#use-the-jackson-library-to-parse-json-data
Don't write your own HTTP client, use OkHttp librarieshttps://github.com/AppBaseLib/AndroidBestPractices#networklibs
https://github.com/AppBaseLib/AndroidBestPractices#dont-write-your-own-http-client-use-okhttp-libraries
Avoid Guava and use only a few libraries due to the 65k method limithttps://github.com/AppBaseLib/AndroidBestPractices#methodlimitation
https://github.com/AppBaseLib/AndroidBestPractices#avoid-guava-and-use-only-a-few-libraries-due-to-the-65k-method-limit
Sail carefully when choosing between Activities and Fragmentshttps://github.com/AppBaseLib/AndroidBestPractices#activities-and-fragments
https://github.com/AppBaseLib/AndroidBestPractices#sail-carefully-when-choosing-between-activities-and-fragments
Layout XMLs are code, organize them wellhttps://github.com/AppBaseLib/AndroidBestPractices#resources
https://github.com/AppBaseLib/AndroidBestPractices#layout-xmls-are-code-organize-them-well
Use styles to avoid duplicate attributes in layout XMLshttps://github.com/AppBaseLib/AndroidBestPractices#styles
https://github.com/AppBaseLib/AndroidBestPractices#use-styles-to-avoid-duplicate-attributes-in-layout-xmls
Use multiple style files to avoid a single huge onehttps://github.com/AppBaseLib/AndroidBestPractices#splitstyles
https://github.com/AppBaseLib/AndroidBestPractices#use-multiple-style-files-to-avoid-a-single-huge-one
Keep your colors.xml short and DRY, just define the palettehttps://github.com/AppBaseLib/AndroidBestPractices#colorsxml
https://github.com/AppBaseLib/AndroidBestPractices#keep-your-colorsxml-short-and-dry-just-define-the-palette
Also keep dimens.xml DRY, define generic constantshttps://github.com/AppBaseLib/AndroidBestPractices#dimensxml
https://github.com/AppBaseLib/AndroidBestPractices#also-keep-dimensxml-dry-define-generic-constants
Do not make a deep hierarchy of ViewGroupshttps://github.com/AppBaseLib/AndroidBestPractices#deephierarchy
https://github.com/AppBaseLib/AndroidBestPractices#do-not-make-a-deep-hierarchy-of-viewgroups
Avoid client-side processing for WebViews, and beware of leakshttps://github.com/AppBaseLib/AndroidBestPractices#webviews
https://github.com/AppBaseLib/AndroidBestPractices#avoid-client-side-processing-for-webviews-and-beware-of-leaks
Use JUnit for unit tests, Espresso for connected (UI) tests, and AssertJ-Android for easier assertions in your Android testshttps://github.com/AppBaseLib/AndroidBestPractices#test-frameworks
https://github.com/AppBaseLib/AndroidBestPractices#use-junit-for-unit-tests-espresso-for-connected-ui-tests-and-assertj-android-for-easier-assertions-in-your-android-tests
Always use ProGuard or DexGuardhttps://github.com/AppBaseLib/AndroidBestPractices#proguard-configuration
https://github.com/AppBaseLib/AndroidBestPractices#always-use-proguard-or-dexguard
Use SharedPreferences for simple persistence, otherwise ContentProvidershttps://github.com/AppBaseLib/AndroidBestPractices#data-storage
https://github.com/AppBaseLib/AndroidBestPractices#use-sharedpreferences-for-simple-persistence-otherwise-contentproviders
Use Stetho to debug your applicationhttps://github.com/AppBaseLib/AndroidBestPractices#use-stetho
https://github.com/AppBaseLib/AndroidBestPractices#use-stetho-to-debug-your-application
Use Leak Canary to find memory leakshttps://github.com/AppBaseLib/AndroidBestPractices#use-leakcanary
https://github.com/AppBaseLib/AndroidBestPractices#use-leak-canary-to-find-memory-leaks
Use continuous integrationhttps://github.com/AppBaseLib/AndroidBestPractices#use-continuous-integration-1
https://github.com/AppBaseLib/AndroidBestPractices#use-continuous-integration
https://github.com/AppBaseLib/AndroidBestPractices#android-sdk
Android SDKhttps://developer.android.com/sdk/installing/index.html?pkg=tools
https://github.com/AppBaseLib/AndroidBestPractices#build-system
Gradlehttps://gradle.org
Android Gradle pluginhttps://developer.android.com/studio/build/index.html
https://github.com/AppBaseLib/AndroidBestPractices#project-structure
default structurehttps://developer.android.com/studio/build/index.html#sourcesets
https://github.com/AppBaseLib/AndroidBestPractices#gradle-configuration
Google's guide on Gradle for Androidhttps://developer.android.com/studio/build/index.html
Android version usage charthttps://developer.android.com/about/dashboards/index.html#Platform
Gradle's documentationhttp://www.gradle.org/docs/current/userguide/userguide_single.html#N10CBF
Gradle recipeshttps://developer.android.com/studio/build/gradle-tips.html
build typehttp://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Types
change app namehttp://stackoverflow.com/questions/24785270/how-to-change-app-name-per-gradle-build-type
https://github.com/AppBaseLib/AndroidBestPractices#android-studio-as-your-main-ide
Android Studiohttps://developer.android.com/sdk/installing/studio.html
https://github.com/AppBaseLib/AndroidBestPractices#libraries
Jacksonhttp://wiki.fasterxml.com/JacksonHome
Gsonhttps://code.google.com/p/google-gson/
Moshihttps://github.com/square/moshi
Square'shttps://github.com/square
OkHttphttp://square.github.io/okhttp/
Retrofithttp://square.github.io/retrofit/
Picassohttp://square.github.io/picasso/
Glidehttps://github.com/bumptech/glide
[1]http://blog.futurice.com/tech-pick-of-the-week-rx-for-net-and-rxjava-for-android
[2]http://blog.futurice.com/top-7-tips-for-rxjava-on-android
[3]https://gist.github.com/staltz/868e7e9bc2a7b8c1f754
[4]http://blog.futurice.com/android-development-has-its-own-swift
Freesound Androidhttps://github.com/futurice/freesound-android
RxAndroidhttps://github.com/ReactiveX/RxAndroid
RxBindinghttps://github.com/JakeWharton/RxBinding
Retrolambdahttps://github.com/evant/gradle-retrolambda
Retrolambda is no longer requiredhttps://developer.android.com/studio/preview/features/java8-support.html
[1]https://medium.com/@rotxed/dex-skys-the-limit-no-65k-methods-is-28e6cb40cf71
[2]http://blog.persistent.info/2014/05/per-package-method-counts-for-androids.html
[3]http://jakewharton.com/play-services-is-a-monolith/
dex-method-countshttps://github.com/mihaip/dex-method-counts
https://github.com/AppBaseLib/AndroidBestPractices#activities-and-fragments
a library for building architectures mostly with Viewshttps://github.com/square/mortar
delivering transitions between screenshttps://developer.android.com/about/versions/lollipop.html
fragments might be used solely as controllershttp://developer.android.com/guide/components/fragments.html#AddingWithoutUI
nested fragmentshttps://developer.android.com/about/versions/android-4.2.html#NestedFragments
matryoshka bugshttp://delyan.me/android-s-matryoshka-problem/
https://github.com/AppBaseLib/AndroidBestPractices#java-packages-structure
https://github.com/AppBaseLib/AndroidBestPractices#resources
Designtime attributeshttp://tools.android.com/tips/layout-designtime-attributes
textAllCapshttp://developer.android.com/reference/android/widget/TextView.html#attr_android:textAllCaps
StackOverflowErrorhttp://stackoverflow.com/questions/2762924/java-lang-stackoverflow-error-suspected-too-many-views
ConstraintLayouthttps://developer.android.com/training/constraint-layout/index.html
optimize your layoutshttp://developer.android.com/training/improving-layouts/optimizing-layout.html
taghttp://stackoverflow.com/questions/8834898/what-is-the-purpose-of-androids-merge-tag-in-xml-layouts
WebViews can also leak memoryhttp://stackoverflow.com/questions/3130654/memory-leak-in-webview
https://github.com/AppBaseLib/AndroidBestPractices#test-frameworks
JUnithttps://developer.android.com/training/testing/unit-testing/local-unit-tests.html
Junithttps://junit.org
Robolectrichttp://robolectric.org/
Espressohttps://developer.android.com/training/testing/ui-testing/espresso-testing.html
AssertJ-Androidhttp://square.github.io/assertj-android/
https://github.com/AppBaseLib/AndroidBestPractices#emulators
https://github.com/AppBaseLib/AndroidBestPractices#proguard-configuration
ProGuardhttp://proguard.sourceforge.net/
Proguardhttps://www.guardsquare.com/en/proguard/manual/examples
DexGuardhttp://www.saikoa.com/dexguard
https://github.com/AppBaseLib/AndroidBestPractices#data-storage
https://github.com/AppBaseLib/AndroidBestPractices#sharedpreferences
https://github.com/AppBaseLib/AndroidBestPractices#contentproviders
Schematichttps://github.com/SimonVT/schematic
https://github.com/AppBaseLib/AndroidBestPractices#using-an-orm
https://github.com/AppBaseLib/AndroidBestPractices#use-stetho
Stethohttp://facebook.github.io/stetho/
Chuckhttps://github.com/jgilfelt/chuck
https://github.com/AppBaseLib/AndroidBestPractices#use-leakcanary
LeakCanaryhttps://github.com/square/leakcanary
wikihttps://github.com/square/leakcanary/wiki
https://github.com/AppBaseLib/AndroidBestPractices#use-continuous-integration-1
Linthttps://developer.android.com/studio/write/lint.html
Checkstylehttp://checkstyle.sourceforge.net/
Findbugshttp://findbugs.sourceforge.net/
Jenkinshttps://jenkins.io/
Travis CIhttps://travis-ci.org/
https://github.com/AppBaseLib/AndroidBestPractices#thanks-to
https://github.com/AppBaseLib/AndroidBestPractices#acknowledgements
https://raw.githubusercontent.com/futurice/spiceprogram/gh-pages/assets/img/logo/chilicorn_no_text-256.png
Spice Programhttp://spiceprogram.org/chilicorn-history/
Futuricehttp://www.futurice.com
https://github.com/AppBaseLib/AndroidBestPractices#license
Futurice Oyhttp://www.futurice.com
Readme https://github.com/AppBaseLib/AndroidBestPractices#readme-ov-file
View license https://github.com/AppBaseLib/AndroidBestPractices#License-1-ov-file
Please reload this pagehttps://github.com/AppBaseLib/AndroidBestPractices
Activityhttps://github.com/AppBaseLib/AndroidBestPractices/activity
Custom propertieshttps://github.com/AppBaseLib/AndroidBestPractices/custom-properties
0 starshttps://github.com/AppBaseLib/AndroidBestPractices/stargazers
0 watchinghttps://github.com/AppBaseLib/AndroidBestPractices/watchers
0 forkshttps://github.com/AppBaseLib/AndroidBestPractices/forks
Report repository https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2FAppBaseLib%2FAndroidBestPractices&report=AppBaseLib+%28user%29
Releaseshttps://github.com/AppBaseLib/AndroidBestPractices/releases
1 tags https://github.com/AppBaseLib/AndroidBestPractices/tags
Packages 0https://github.com/orgs/AppBaseLib/packages?repo_name=AndroidBestPractices
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.