MVI at Eventbrite
ProAndroidDev
by Karishma Agrawal
19h ago
Six months ago I joined Eventbrite as Senior Android Engineer. Having worked here for six months now, I realise that Eventbrite is not just a product-based company but also a genuine tech company. The kind of architecture we have and the kind of brilliant minds I get to work with excites me every day. Eventbrite is a global events marketplace that allows anyone to create, share, find, and attend events that fuel their passions and enrich their lives. From music festivals, marathons, conferences, community rallies, and fundraisers, to gaming competitions and air guitar contests. Our missi ..read more
Visit website
Command Your User Inputs with Jetpack Compose— Text Field Features Hidden in Plain Sight
ProAndroidDev
by Nirbhay Pherwani
3d ago
Discover the True Potential of Text Fields with Compose in Android This image was created with the assistance of DALL·E 3Introduction After a six month hiatus, I’m excited to return to writing and share some advanced and engaging examples of using text fields. Text fields are fundamental in building interactive and dynamic UI components, and Jetpack Compose offers a range of features to make them not only functional but also visually appealing and highly interactive. In this article, we will start with the basics of implementing a simple text field and progressively move towards ..read more
Visit website
Variance (in & out) in Kotlin Explained
ProAndroidDev
by Michal Ankiersztajn
4d ago
Take a look at how in and out keywords work in Kotlin. They’re a way to limit the usage of scenarios when the specified type can be used. Contrary to how it works in Java, where variance is at the use-site, they’re used in a declaration-site (where the class is being declared). This simplifies types and makes the whole concept easier to understand. 1. Covariant in In short in keyword means that the T can only be consumed and never produced. If you have a generic interface that has a T only as its input, which the subclasses will have to consume and the T is never used as a return type, t ..read more
Visit website
Kotlin’s :: Operator Explained
ProAndroidDev
by Sandeep Kella
4d ago
Kotlin’s :: Operator Explained Hey there, fellow Android developer! ? Today, we’re diving into the world of Kotlin and exploring the :: operator, also known as the callable reference operator. Think of this as a magic wand that lets you refer to functions, properties, and constructors in a super neat way. Ready? Let's get started! What is the :: Operator? Imagine you’re at a party (because coding is a party, right?) and you want to introduce your friend to someone. Instead of explaining all their qualities and details, you simply point to them and say, “That’s my friend, Al ..read more
Visit website
Using Android Jetpack DataStore with Jetpack Compose
ProAndroidDev
by Raheem Hameed
4d ago
Using Android Jetpack Datastore in Jetpack Compose In this article, we will learn about Jetpack Datastore which is a new data storage solution in Android and how to use it in a Compose Application. Photo by Christian Wiediger on Unsplash According to Google: Jetpack is a suite of libraries to help developers follow best practices, reduce boilerplate code, and write code that works consistently across Android versions and devices so that developers can focus on the code they care about. Jetpack Datastore is one of the awesome libraries that have being introduced into the gro ..read more
Visit website
Mastering Time Measurement in Kotlin: A Guide to Kotlin Timing API
ProAndroidDev
by Rooparsh Kalia
6d ago
Accurate time measurement is pivotal in software development, influencing performance testing, debugging, and task scheduling. Kotlin, a modern and versatile programming language, offers various APIs for effective time handling. This article explores the Kotlin Timing API, focusing on the Monotonic clock, Wall clock, and precise time measurement techniques. Photo by wu yi on Unsplash “Time is the scarcest resource and unless it is managed, nothing else can be managed.” — Peter Drucker Definition of Clocks ? 1. The Monotonic Clock: A Consistent Timekeeper The Monotonic clock is a ..read more
Visit website
Don’t Lock the Screen Orientation! Handling Orientation in Compose
ProAndroidDev
by Eevis Panula
6d ago
Yes, your app should work in both portrait and landscape modes — unless locked orientation is essential for functionality, like in a piano app. However, for most apps, locked orientation is not an option. Oh, and yes, the functionality should be similar in both modes, not hiding anything when the orientation changes. In this blog post, I’ll cover the topic of locked orientation. It’s mainly concentrated on Compose things, but there might be something useful for Views, too. I’ve also included some good articles in the Read More section of the blog post, explaining, e.g., more about orientation ..read more
Visit website
Diving into the newest Android articles
ProAndroidDev
by PAD Editorial
1w ago
Enhancing Security in Android Applications with SSL Pinning Enes İğneci explores how securing user data and communications is crucial for mobile apps in today's digital age. Learn how SSL/TLS and SSL Pinning protect your Android app against MITM attacks. Improving video playback with ExoPlayer Alexey Bykov dives into practical tips to enhance playback and effectively use ExoPlayer in your Android app, supported by production data. Perfect for Android engineers familiar with ExoPlayer basics. Best Firebase Tools for Your Mobile Application Jaewoong Eum discusses how to use Firebase to ..read more
Visit website
Personalize Your App’s UI with Grammatical Gender in Android
ProAndroidDev
by Sandeep Kella
1w ago
Let’s Get Personal! Imagine your app is a boutique, and every user feels like a VIP when they walk in. Just like a good shop assistant knows their customers’ preferences, your app can now personalize its language to suit each user’s grammatical gender. Android 14’s new Grammatical Inflection API makes this magic happen without a hitch. Ready to make your app more engaging? Let’s dive in! Step 1: Understanding Grammatical Gender Think of grammatical gender like addressing your friends. You might say “Mr. Smith” or “Ms. Johnson” based on their gender. Similarly, in many languages, the words ..read more
Visit website
Coroutine Cancellation and Timeouts
ProAndroidDev
by Tanya Arora
1w ago
Cancellation is a crucial feature of Kotlin coroutines for managing resources and stopping them when they are no longer needed. A practical example when cancellation would be needed can be when the page that launched the coroutines has closed. The result of the coroutine is no longer needed and it’s operations can be cancelled. So, how do we cancel a coroutine?? As we know, Kotlin’s launch function returns a Job. Just like we use Job to start a coroutine, we can use it to stop a coroutine as well. fun cancelCoroutine() { runBlocking { val job = launch { repeat(1000 ..read more
Visit website

Follow ProAndroidDev on FeedSpot

Continue with Google
Continue with Apple
OR