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
160
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
More Decks by Paolo Rotolo
See All by Paolo Rotolo
A guide to Android Background Work
paolorotolo
0
220
Kotlin Multiplatform for Android/iOS devs v2
paolorotolo
1
110
Kotlin Multiplatform for Android/iOS devs
paolorotolo
1
410
State Management in Flutter (Flutter Festival Bari)
paolorotolo
0
440
Coroutines and Flow integration with Android Architecture Components
paolorotolo
1
650
Survive the Android Memory Killer
paolorotolo
0
77
Test and automate Android Development with CI magic
paolorotolo
0
220
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.7k
Visualization
eitanlees
152
17k
Test your architecture with Archunit
thirion
1
2.3k
Ethics towards AI in product and experience design
skipperchong
2
310
エンジニアに許された特別な時間の終わり
watany
107
250k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
330
Tell your own story through comics
letsgokoyo
1
950
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
200
Bash Introduction
62gerente
615
210k
How to build a perfect <img>
jonoalderson
1
5.6k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.9k
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