René's URL Explorer Experiment


Title: GitHub - androidcodecn/android-best-practices: Do's and Don'ts for Android development, by Futurice developers

Open Graph Title: GitHub - androidcodecn/android-best-practices: Do's and Don'ts for Android development, by Futurice developers

X Title: GitHub - androidcodecn/android-best-practices: Do's and Don'ts for Android development, by Futurice developers

Description: Do's and Don'ts for Android development, by Futurice developers - androidcodecn/android-best-practices

Open Graph Description: Do's and Don'ts for Android development, by Futurice developers - androidcodecn/android-best-practices

X Description: Do's and Don'ts for Android development, by Futurice developers - androidcodecn/android-best-practices

Opengraph URL: https://github.com/androidcodecn/android-best-practices

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:f164be31-19d9-92ff-abe9-1b3612505f83
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-id9AD6:2BA93A:3D0E344:5460690:6980E6C0
html-safe-nonce598834b8e8c084776084c504ee583c92ed23c32d4285ce0ed0a980cc07172c6d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUQ2OjJCQTkzQTozRDBFMzQ0OjU0NjA2OTA6Njk4MEU2QzAiLCJ2aXNpdG9yX2lkIjoiODQyODY1MDI0Mzg2MzY2ODQxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf6e5ccb845ec1d2573b60eaedf60b3e977aa05d512e748e0d52b906ec0c0586f
hovercard-subject-tagrepository:26201118
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/androidcodecn/android-best-practices
twitter:imagehttps://opengraph.githubassets.com/449852528cae73327594901606c5045c1fb8230857d6615c3d1f5dc1fb6cf7a9/androidcodecn/android-best-practices
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/449852528cae73327594901606c5045c1fb8230857d6615c3d1f5dc1fb6cf7a9/androidcodecn/android-best-practices
og:image:altDo's and Don'ts for Android development, by Futurice developers - androidcodecn/android-best-practices
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneaaf8d4a8e86300179375c44c83488bc74585c21f81b72377699d5e6c4b00d1b1
turbo-cache-controlno-preview
go-importgithub.com/androidcodecn/android-best-practices git https://github.com/androidcodecn/android-best-practices.git
octolytics-dimension-user_id9563552
octolytics-dimension-user_loginandroidcodecn
octolytics-dimension-repository_id26201118
octolytics-dimension-repository_nwoandroidcodecn/android-best-practices
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
release0b50c4d33bc796ea7d05dba2f7cf29956c2e8265
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fandroidcodecn%2Fandroid-best-practices
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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fandroidcodecn%2Fandroid-best-practices
Sign up https://patch-diff.githubusercontent.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=androidcodecn%2Fandroid-best-practices
Reloadhttps://patch-diff.githubusercontent.com/androidcodecn/android-best-practices
Reloadhttps://patch-diff.githubusercontent.com/androidcodecn/android-best-practices
Reloadhttps://patch-diff.githubusercontent.com/androidcodecn/android-best-practices
androidcodecn https://patch-diff.githubusercontent.com/androidcodecn
android-best-practiceshttps://patch-diff.githubusercontent.com/androidcodecn/android-best-practices
futurice/android-best-practiceshttps://patch-diff.githubusercontent.com/futurice/android-best-practices
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fandroidcodecn%2Fandroid-best-practices
Fork 1 https://patch-diff.githubusercontent.com/login?return_to=%2Fandroidcodecn%2Fandroid-best-practices
Star 1 https://patch-diff.githubusercontent.com/login?return_to=%2Fandroidcodecn%2Fandroid-best-practices
View license https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/blob/master/LICENSE
1 star https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/stargazers
3.3k forks https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/forks
Branches https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/branches
Tags https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/tags
Activity https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/activity
Star https://patch-diff.githubusercontent.com/login?return_to=%2Fandroidcodecn%2Fandroid-best-practices
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fandroidcodecn%2Fandroid-best-practices
Code https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices
Pull requests 0 https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/pulls
Actions https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/actions
Projects 0 https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/projects
Wiki https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/wiki
Security 0 https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/security
Insights https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/pulse
Code https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices
Pull requests https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/pulls
Actions https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/actions
Projects https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/projects
Wiki https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/wiki
Security https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/security
Insights https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/pulse
Brancheshttps://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/branches
Tagshttps://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/tags
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/branches
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/tags
81 Commitshttps://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/commits/master/
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/commits/master/
templates/rx-architecturehttps://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/tree/master/templates/rx-architecture
templates/rx-architecturehttps://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/tree/master/templates/rx-architecture
CONTRIBUTING.mdhttps://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/blob/master/CONTRIBUTING.md
CONTRIBUTING.mdhttps://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/blob/master/CONTRIBUTING.md
LICENSEhttps://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/blob/master/LICENSE
LICENSEhttps://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/blob/master/LICENSE
README.mdhttps://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/blob/master/README.md
README.mdhttps://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/blob/master/README.md
READMEhttps://patch-diff.githubusercontent.com/androidcodecn/android-best-practices
Contributinghttps://patch-diff.githubusercontent.com/androidcodecn/android-best-practices
Licensehttps://patch-diff.githubusercontent.com/androidcodecn/android-best-practices
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#best-practices-in-android-development
iOS Good Practiceshttps://github.com/futurice/ios-good-practices
guidelineshttps://github.com/futurice/android-best-practices/tree/master/CONTRIBUTING.md
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#summary
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#use-gradle-and-its-recommended-project-structure
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#put-passwords-and-sensitive-data-in-gradleproperties
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#dont-write-your-own-http-client-use-volley-or-retrofit-libraries
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#use-the-jackson-library-to-parse-json-data
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#use-volley-or-retrofitokhttppicasso-for-networking-and-images
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#avoid-guava-and-use-only-a-few-libraries-due-to-the-65k-method-limit
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#use-fragments-to-represent-a-ui-screen
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#use-activities-just-to-manage-fragments
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#layout-xmls-are-code-organize-them-well
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#use-styles-to-avoid-duplicate-attributes-in-layout-xmls
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#use-multiple-style-files-to-avoid-a-single-huge-one
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#keep-your-colorsxml-short-and-dry-just-define-the-palette
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#also-keep-dimensxml-dry-define-generic-constants
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#do-not-make-a-deep-hierarchy-of-viewgroups
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#avoid-client-side-processing-for-webviews-and-beware-of-leaks
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#avoid-testing-with-robolectric-on-activities-fragments-and-views
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#android-sdk
Android SDKhttps://developer.android.com/sdk/installing/index.html?pkg=tools
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#build-system
Gradlehttp://tools.android.com/tech-docs/new-build-system
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#project-structure
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#gradle-configuration
Google's guide on Gradle for Androidhttp://tools.android.com/tech-docs/new-build-system/user-guide
Gradle's documentationhttp://www.gradle.org/docs/current/userguide/userguide_single.html#N10CBF
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#ides-and-text-editors
Android Studiohttps://developer.android.com/sdk/installing/studio.html
Eclipse ADThttps://developer.android.com/sdk/installing/index.html?pkg=adt
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#libraries
Jacksonhttp://wiki.fasterxml.com/JacksonHome
Gsonhttps://code.google.com/p/google-gson/
Json-smarthttps://code.google.com/p/json-smart/
Boon JSONhttps://github.com/RichardHightower/boon/wiki/Boon-JSON-in-five-minutes
Volleyhttps://android.googlesource.com/platform/frameworks/volley
Retrofithttp://square.github.io/retrofit/
Picassohttp://square.github.io/picasso/
OkHttphttp://square.github.io/okhttp/
OkHttp can also be used in connection with Volleyhttp://stackoverflow.com/questions/24375043/how-to-implement-android-volley-with-okhttp-2-0/24951835#24951835
[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
Retrolambdahttps://github.com/evant/gradle-retrolambda
[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://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#activities-and-fragments
Fragmentshttp://developer.android.com/guide/components/fragments.html
activitieshttp://developer.android.com/guide/components/activities.html
fragment without a UIhttp://developer.android.com/guide/components/fragments.html#AddingWithoutUI
fragment to contain the logic for changing fragmentshttp://stackoverflow.com/questions/12363790/how-many-activities-vs-fragments/12528434#12528434
Read more herehttp://www.grokkingandroid.com/adding-action-items-from-within-fragments/
nested fragmentshttps://developer.android.com/about/versions/android-4.2.html#NestedFragments
matryoshka bugshttp://delyan.me/android-s-matryoshka-problem/
Intent.setData()http://developer.android.com/reference/android/content/Intent.html#setData(android.net.Uri)
Intent.setAction()http://developer.android.com/reference/android/content/Intent.html#setAction(java.lang.String)
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#java-packages-architecture
Model-View-Controllerhttp://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller
Fragment and Activity are actually controller classeshttp://www.informit.com/articles/article.aspx?p=2126865
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#resources
Designtime attributeshttp://tools.android.com/tips/layout-designtime-attributes
StackOverflowErrorhttp://stackoverflow.com/questions/2762924/java-lang-stackoverflow-error-suspected-too-many-views
RelativeLayouthttps://developer.android.com/guide/topics/ui/layout/relative.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://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#test-frameworks
connectedAndroidTesthttp://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Testing
extension of JUnit with helpers for Androidhttp://developer.android.com/reference/android/test/package-summary.html
[1]http://developer.android.com/tools/testing/testing_android.html
[2]http://developer.android.com/tools/testing/activity_test.html
Robolectrichttp://robolectric.org/
Robotiumhttps://code.google.com/p/robotium/
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#proguard-configuration
ProGuardhttp://proguard.sourceforge.net/
this template's ProGuard confighttps://github.com/futurice/android-best-practices/blob/master/templates/rx-architecture/app/proguard-rules.pro
Proguardhttp://proguard.sourceforge.net/#manual/examples.html
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#thanks-to
https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#license
Futurice Oyhttps://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/blob/master/www.futurice.com
Readme https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#readme-ov-file
View license https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#License-1-ov-file
Contributing https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices#contributing-ov-file
Please reload this pagehttps://patch-diff.githubusercontent.com/androidcodecn/android-best-practices
Activityhttps://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/activity
1 starhttps://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/stargazers
1 watchinghttps://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/watchers
1 forkhttps://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/forks
Report repository https://patch-diff.githubusercontent.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fandroidcodecn%2Fandroid-best-practices&report=androidcodecn+%28user%29
Releaseshttps://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/releases
1 tags https://patch-diff.githubusercontent.com/androidcodecn/android-best-practices/tags
Packages 0https://patch-diff.githubusercontent.com/users/androidcodecn/packages?repo_name=android-best-practices
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.