If you have been looking for ways of storing data without having to deal with an online storage/database on android, welcome..
In Android, there are 2 ways of providing offline storage of data:
1. Room Database
2. Preferences (SharedPreference and Preference DataStore).
Now, what are the differences?. When should you use
Room Databaseand when should you use
Do you want to store just a small amount of data — Preferences
— Storing a users selection for night mode or dark mode on your app
— Saving the state when a user first launches your app (Useful for displaying…
As a modern android developer, you must have come across the word “
Live Data” or ”
Flow” numerous times.
There are so many articles about them, but I feel most of them ignore the “
use” case and a simple example to help beginners.
Live data is part of Android Architecture Components which are basically a collection of libraries that help you design robust, testable, and maintainable apps.
These set of libraries contains classes which you can use in your app.
One of these classes is LiveData.
It is an Observable data class — Meaning it can be observed by other components…
Recently the Android Team announced the release of Jetpack Compose beta—
“Android’s modern toolkit for building native UI. It simplifies and accelerates UI development on Android. Quickly bring your app to life with less code, powerful tools, and intuitive Kotlin APIs.”
Basically, Jetpack Compose uses a “Declarative” approach to build UI by providing Declarative API’s.
In simple terms - with Jetpack Compose, there will be no need for creating “XML” layouts to build your UI.
I will show you how to get started with JetPack Compose by building a simple
Countdown Timer App, that countdown from
60 seconds (1 hr)…
Nowadays, most businesses require their customers to make payments to purchase a good or service. Customers on the other hand are looking for a flexible, easy, convenient and secure way to make these payments.
In this article, I will show you how to accept payments on Android using Paystack’s sdk.
Paystack helps businesses in Africa get paid by anyone, anywhere in the world.
This is how our app will look like
Holla! 👋, I will explain how to send push notifications on android using
Firebase Cloud Messaging.
Push notifications are messages that pop up on a users device. A user can see these notifications without having to be on the app. This is important for users retention.
WHAT WE ARE BUILDING
We are simply going to build an app that lets a user input a message and send a push notification to that user containing that message. Simple! 😄
This is how the final app will look like
Hello, In this article, I will show you how to build a very simple currency converter app that lets you convert figures from one currency to another.
In this app, I carefully followed the clean architectural pattern — as recommended by the Android team.
This app uses —
AND…NO — I didn't use Android Navigation Component…
Pagination is a rather important feature which is used by virtually every single website, apps etc. This is because most websites deal with loads of data and loading them at once to the user can be so much pain to the end user.
It is very important to load small chunks of data at a time while giving the user ability to navigate to the next or previous available data.
Implementing pagination can be one hell of a daunting task on modern apps[hello android 😐!] or website. However, in
laravel this is very easy to do.
Hello. In this tutorial, I will explain the basic concept of Laravel. What it is and how to use it.
We will be building a very simple
TODO application, an application that lets you Create, Show, Update, Delete
TODO’s. I will explain everything in details.
TODO is basically a list of the tasks that you have to do, or things that you want to do.
Laravel is a free, open source framework developed by Taylor Otwell used mostly for web applications.
Before now, building a full web application requires a lot of work.
😫. You had to independently manage…