Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Contribute to OpenSource writing (Kotlin friend...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Paolo Rotolo
July 20, 2018
180
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Contribute to OpenSource writing (Kotlin friendly) libraries for Android
Presented at Campus Party Italy 2018.
Paolo Rotolo
July 20, 2018
Transcript
101 slides
Contribute to open source writing (Kotlin-friendly) libraries for Android @PaoloRotolo
Paolo Rotolo #CPIT2
About me
None
None
Make an Android Library
// build.gradle // day 1
// build.gradle // day 10
None
None
Build an Android Library
Why I have to develop a library?
Why I have to develop a library for free?
Writing a modular project - Faster gradle builds - Easily
pluggable into Instant apps - Better team work, as one person can have the sole responsibility of a module - Smoother git flows - Easy to create libraries from code :D
Each module (library) should solve a single specific issue
None
None
None
// build.gradle // BEFORE
// build.gradle // AFTER
Choose resources to make public
All resources in a library default to public
None
None
Publish your library
Name your library
Name your library ;)
None
ShapeOfView
GlideToVectorYou
Publish your artifact
None
None
None
Test your library
Test your library BONUS: it’s easy if OpenSource ;)
Document your library
Write a good README
Write a good README
Maintain your library
- Close issues on GitHub; Maintain your library
Maintain your library
- Close issues on GitHub; - Accept/reject pull requests; Maintain
your library
- Close issues on GitHub; - Accept/reject pull requests; -
Release new versions Maintain your library
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
Android KTX
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
Questions?
[email protected]
@paolorotolo
More Decks by Paolo Rotolo
See All by Paolo Rotolo
A guide to Android Background Work
paolorotolo
0
270
Kotlin Multiplatform for Android/iOS devs v2
paolorotolo
1
130
Kotlin Multiplatform for Android/iOS devs
paolorotolo
1
440
State Management in Flutter (Flutter Festival Bari)
paolorotolo
0
480
Coroutines and Flow integration with Android Architecture Components
paolorotolo
1
700
Survive the Android Memory Killer
paolorotolo
0
91
Test and automate Android Development with CI magic
paolorotolo
0
250
Featured
See All Featured
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.9k
Believing is Seeing
oripsolob
1
280
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
660
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
620
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.9k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
600
How to Talk to Developers About Accessibility
jct
2
620
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.2k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.3k
Git: the NoSQL Database
bkeepers
PRO
433
67k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
400
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
1
300