TagAndroid Development

Exploring Jetpack Compose: Column

E

The Column Composable provides us with the functionality of displaying a collection of composables in a vertically sequenced format, where each composable is displayed simultaneously one after the other. If you’re enjoying my posts on Jetpack Compose, check out some details on the book I’m writing on Compose! When it comes to declaring a Column, there are four arguments which the...

Exploring Jetpack Compose: Padding Modifier

E

When it comes to the composition of composables, we may want to apply additional spacing to a composables size constraints. For this we can utilise Padding – padding adds this additional space to the specified sides of the composable, essentially making it larger in size. This area of padding cannot be consumed by the content inside of the composable, instead it merely acts as additional...

Exploring the Google Play In-App Review API

E

When it comes to the Google Play store, app ratings and reviews are a pretty important marketing tool – they can have a huge influence on whether someone downloads our app, so ensuring that we do not miss out on good reviews is important. However, I’ve felt like there has always been a lot of friction in the review process – many apps seem to approach it differently, all of...

Exploring Jetpack Compose: Stack

E

If you’re enjoying my posts on Jetpack Compose, check out some details on the book I’ll be writing on Compose! When it comes to laying out groups of components in our screens, it’s not always the case that we want them to be sequentially displayed in a vertical or horizontal manner. There may be times in which we want to have some items drawn behind and/or on top of others. When this is...

Exploring Jetpack Compose: Radio Group

E

In the last section we looked at the Radio Button, allowing us to create a single selectable item. However, defining a group of these would require a collection of boilerplate logic as we’d have to manually handle the state for the group of buttons. When it comes to this scenario, Jetpack Compose contains a Radio Group which can be used to create a collection of radio buttons for single selection...

Exploring Jetpack Compose: Radio Button

E

If you’re enjoying my posts on Jetpack Compose, check out some details on the book I’ll be writing on Compose! We previously looked at other checkable components and how they can be used to allow a toggleable state controller within our user interface. Alongside these other toggleable components we also have the Radio Button component. This button allows our users to select some...

Exploring jetpack Compose: Switch

E

If you’re enjoying my posts on Jetpack Compose, check out some details on the book I’ll be writing on Compose! We previously looked at the Checkbox components and how they can be used to allow a toggle able state controller within our user interface. Alongside this toggleable component we also have the Switch component. This Switch allows our users to turn some property on and off...

Exploring the Android 11 Developer Preview: Permission Changes

E

That time of the year has come, a new Android version is on the horizon! As announced in a blog post earlier this week, the first developer preview of Android 11 is now available – along with details on some of the changes that are happening. With this announcement come some changes to how the system operates when it comes to permissions and how this will affect applications – I...

Exploring the Android Fragment Scenario component

E

I’m always curious about what tools and features are coming up next in android — and to be sure I don’t miss out on any of this I like to keep an eye on release notes over on the android developer site. Two that caught my eye recently where the fragment-1.1.0-alpha01 and fragment-testing-1.1.0-alpha01 releases, within the testing side of things we see a new FragmentScenario component which...

Android Networking with Coroutines and Retrofit

A

Recently I’ve been reading up on, watching talks on and been generally getting more curious about Kotlin coroutines. Now that they are stable with the release of Kotlin 1.3 it felt like about time to start diving in an play with converting my existing RxJava code over to using coroutines. In this post, we’re going to focus on how we can take an existing network request flow and convert it over to...