If you’ve been following my series of posts regarding RecyclerView (LazyColumn) in Jetpack Compose, chances are, you might have already accomplished most of what we wanted to achieve with the Puppy Adoption app.
For a quick recap, here’s where we left our app after styling it in Part II:
As of Part I, we successfully implemented a RecyclerView (known as LazyColumn in Compose), populating it with a list of puppies that we have for adoption. 🐶
But as I mentioned, we still have some things to do before we call it a complete Compose app. The two things left now are:
In this part of the series, we’ll look at how styles and themes work in Compose, taking our app from Part I and giving it the final look that we want to achieve:
If you’re new to Jetpack Compose and looking at all the cool UI screens and animations around the internet like me, you’re probably a bit overwhelmed but also curious about how things work in compose.
Since I’m new to learning Jetpack Compose like most of you, the recent #AndroidDevChallenge was a good opportunity for me to get my hands dirty and write some Jetpack Compose UIs. Since I learnt tons of stuff with a basic app, I thought my learnings would make a good series of blog posts to help all of you.
With this series of blog posts, we’ll…
Recently, I got myself engaged in a new world of Android development: publishing an open source Android library.
I can say that the struggle of publishing the library was real after realizing that I spent more time publishing the library than writing the entire library itself! 🤦♂️
I learnt that not only was it a lot of hard manual work to publish a library, but…
If you’re into tiny details and interactions in the app like me, something probably always annoy you when the interaction is just not too perfect.
While I covered almost all the things there was about creating a Gmail like Navigation Drawer in the first part, this story is just about adding that tiny ripple effect to when you press the navigation drawer items.
To look into the different before and after adding the ripple effect, here are two GIFs:
I didn’t plan to write this at first since my last tutorial covers pretty much everything about MotionLayout I intended to write about.
I received questions on social media about this one action several times, which is about how to move to next screen after our animation is complete. I thought it’d be easy to figure out on your own but when I looked around, I figured that there aren’t very many resources for MotionLayout yet.
Also, my last tutorial is a bit long to follow for beginners (I tend to keep beginners in mind when writing blog posts…
If you’ve been following me on Medium for a while, chances are, you might have passed by my blog posts regarding an easy approach to Navigation Drawer and styling it:
Since those posts are more thorough, I know that it’s intimidating to consume so much knowledge all at once. And I know that because I received a few DMs asking about styling specific elements in the Navigation Drawer after those posts.
Also, a personal opinion: I think that when you know exactly what you want to create, you tend to explore the component so much better. …
Remember the Twitter’s “oh so famous” splash screen that everyone talked about and had their version to imitate it? It’s now easier than ever to achieve that with the new MotionLayout from the Android Jetpack library. And that’s what we’ll create in this post and in addition, learn some basics about how MotionLayout works.
For those who wonder about the Twitter splash screen, here’s the animation that we’re going to achieve in this post:
With Android 9 (API level 28), Google officially started supporting what’s famously known as the notch, a cutout display at the top (because the last two years were the years of the notch?). I can’t claim that but with the notch support, most of the brands came out with their version of a cutout display and with that, we as developers need to think about yet another edge case, especially if we’re working with a completely immersive experience.
To give you a little knowledge of what I’ve researched, what I noticed while dealing with the notch is that the devices’…
Considering how coronavirus is already an outbreak in some of the developed countries, remember that Pakistan is still very vulnerable if the virus does go viral here and remember that our country is in no position to control such an outbreak with the medical infrastructure that we have.
The government’s decisions yesterday are just the right steps for the prevention of an outbreak and I’m glad that an event like PSL is taking measures immediately.
But as I see it, our society’s attitude towards taking precautions is not at all serious and if we do not act now, it’s just…
Android Developer at Degoo Backup AB.