Skip to main content

2 posts tagged with "compose"

View All Tags

Β· 4 min read
MamboBryan
SheeWrites

Hello πŸ‘‹ there droids and welcome back to another newsletter edition for March 2023. We hope you enjoy it and won't speed through it like the CX-5 πŸ˜‰ πŸ˜‰

Monthly Meetup​

Starting us off is our monthly meetup. Given that international women's day came around not that long ago, it was an all-ladies affair with just female speakers taking the stage.

Testing Our Endpoints: Ktor​

The first session led by Rachel Nafula shed light on the importance of Ktor for any developer. We learned a lot from how it simply connects the client to the server by making a request and ensuring an appropriate response is returned. In the same breath, we were reminded the importance of testing our code before pushing to production, to ultimately prevent inevitable disaster. It was also brought to our attention that there two types of tests ie: manual & automated. For demonstration purposes, she used Insomnia but postman(and the like) is also viable.

Compose Modifier​

The second session by Beatrice Kinya hailed Compose Modifiers from the word go. As the great migration from the traditional view system to compose is ongoing it was refreshing to understand a little bit more about Compose Modifier. We got to learn a few concepts we can use to change the appearance and behavior of composables.ie the order of precedence and constraints. We then proceeded into the types of Modifiers (add content). Lastly, we learnt of the three phases of compose which are; Composition, Layout and Drawings!

Let's Animate In Compose​

Last but not least the final session by Jacqui Gitau was all about animations. It is imperative to mention how animations bring our apps to life and the little interactions contribute to a great user experience. In the final session, we learned how to animate, why we should animate and the overall benefits of adding animations to our apps. From sliding in to fading out, we enjoyed how simple she made animations feel.

We enjoyed this month's meetup and thank all the speakers and attendees. We're looking forward to the next meetup!

Kotlin Quiz​

After a few jokes and not-so-few laughs the stage was set for a brief Kotlin quiz to warm up the afternoon. Droids tried to attempt the quizes one after the other with no winner was in sight, until Victor Kabata and Jane Waitara emerged victorious to take the win home.

If you'd also want to attempt the two question shared during the meetup, here they are πŸ‘.

import junit.framework.TestCase.assertEquals
import junit.framework.TestCase.assertTrue

/**
* Without changing anything in the main function.
* Ensure all the test cases pass
*/

fun main() {

assertEquals(
"Welcome to Android254!", // expected
sayHello { "Android254" } // actual
)
assertEquals(
listOf(2,4,7), // expected
listOf(1,1,2,3,3,3,4,5,5,6,6,6,7).getNonRepeated() // actual
)

println("Everything Passed!")

}
tip

You can start by creating the sayHello & getNonRepeated function

KotlinConf'23​

The official conference devoted to the Kotlin Programming Language is finally here. From April 12th to 14th join the Livestream and benefit from the array of topic to boost your Koltin skills.

We can't mention KotlinConf without celebrating our two community members who'd be attending the conference in person. Brian Mbigo was one of the winners of the Kotlin Multiplatform contest with his amazing VisioZoezi app and Harun Wangereka with an excellent talk Transforming Farmer's Lives Using Android In Kenya on April 13th from 6:15 pm to 7:00 pm EAT.

We'll also have a KotlinConf 2023 Global - Nairobi Edition to learn more about what went down at KotlinConf'23 and share your opinions... don't forget to RSVP and watch out for the upcoming CFS...

KotlinBits​

Sometimes all you need is a different perspective when learning the Kotlin language. KotlinBits aims at trying to explain every Kotlin concept in small bits and sizes. Watch out for even more content from their website and YouTube channel.

ARTICLES
Introduction To Kotlin Programming by Dbraine.
Custom Compose Layouts by Beatrice Kinya.
REPOSITORIES
NFT-App by Stephen Muindi
Mars Rover Photos by Victor Kabata
Fibonacci by Jane Waitara
Harry Porter API by Ken Starry
VIDEOS
Mastering the Fundamentals of Android App Development
Getting Started as an Android Developer: Tips and Tricks for Success
Becoming an Android Developer
Foreground Location : MVI Compose Weather App Pt.1
Apps
CarRental by Chienja Dev
Mingle - Find Singles by Felix Kariuki
MealTime by Joel Kanyi

You can also suggest any article, library, video or podcast for upcoming newsletters. Click here to submit!

That's it folks till next time, happy coding.

info

We'd love to hear your feedback. Click here to submit any feedback.


Β· 3 min read
MamboBryan
SheeWrites

HolaπŸ‘‹ gritty engineers! As we've come to start of another month, we would like to bring you all up to speed with things that have been happening around our amazing android community.

Starting us off is…

1. Compose Camp Things.​

After many years of imperative UI using Java and XML to render views on a screen, compose came to make it easier and simpler. Its not only declarative, but also saves time while creating the said components.

In February KotlinKenya, Android254 and WomenTechMakers Nairobi sought to focus more on UI frameworks by organizing interactive and helpful weekend sessions on compose. These sessions got the audience acquinted with common way of using compose and also the Kotlin language.

tip

There is an ongoing challenge for the compose camp session. Click here to find out more!

2. DroidConKE Android App.​

As we eagerly anticipate this year’s Droidcon, nothing gets us more fired up as collaboratively developing the app. This year the team has decided to open source the app early in advance so that anybody can contribute!.

The app is a treasure trove even for the most seasoned developers. From excellent modularization to integrated testing. There are a number of issues added and we would love to see you add yours as well! To do so, head on over here to contribute.

3. KotlinKenya/Android254 call for speakers.​

As a community, we usually host monthly meet up sessions which we would be delighted to have you guys apply as speakers.If you are wondering who is legible to do so, it’s anyone who considers themselves as either; a beginner, intermediate or expert. If you fit into any of the categories, head on over here to apply. We are looking forward to receive them.

There are tons of content around the internet for Android and Kotlin. This year, we’ve added this new section to shine light upon a list of interesting; articles, sessions, libraries and videos we’ve come across in our Kenyan community.

ARTICLES
Dependency Injection with Hilt by Victor Irungu.
In-App purchase In Jepack Compose by Felix Kariuki.
LIBRARIES
Daraja Multiplatform by Victor Kabata
Compose Signature Pad by Joel Kanyi
VIDEOS
Unit testing navigation in Jetpack compose by Breens Mbaka
How to make a cross-platform movie app by using Kotlin Multiplatform by Patrick Dipchumba

You can also suggest any article, library, video or podcast for upcoming newsletters. Click here to submit!

That's it folks till next time, happy coding.

info

We'd love to hear your feedback. Click here to submit any feedback.