Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
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
0
150
Contribute to OpenSource writing (Kotlin friendly) libraries for Android
Presented at Campus Party Italy 2018.
Paolo Rotolo
July 20, 2018
Tweet
Share
More Decks by Paolo Rotolo
See All by Paolo Rotolo
A guide to Android Background Work
paolorotolo
0
190
Kotlin Multiplatform for Android/iOS devs v2
paolorotolo
1
100
Kotlin Multiplatform for Android/iOS devs
paolorotolo
1
380
State Management in Flutter (Flutter Festival Bari)
paolorotolo
0
410
Coroutines and Flow integration with Android Architecture Components
paolorotolo
1
630
Survive the Android Memory Killer
paolorotolo
0
62
Test and automate Android Development with CI magic
paolorotolo
0
200
Featured
See All Featured
Done Done
chrislema
186
16k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
480
Evolving SEO for Evolving Search Engines
ryanjones
0
170
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
What does AI have to do with Human Rights?
axbom
PRO
1
2k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Building an army of robots
kneath
306
46k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
82
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
110
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
68
38k
Fireside Chat
paigeccino
42
3.8k
Transcript
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