Open in app

Sign In

Write

Sign In

Barros
Barros

163 Followers

Home

About

Pinned

Android app modularization with Clean Architecture

It often happens that we have to deal with projects that grow out of proportion, causing serious problems like difficult with the maintainability, readability, scalability. So, one thing we can do is modularize our project, in order to structure them and avoid these problems. Modularization and Clean Architecture The idea behind modularization is to…

Android

4 min read

Android app modularization with Clean Architecture
Android app modularization with Clean Architecture
Android

4 min read


Pinned

No more Retrofit, move to Ktor on Android

How to say the documentation, Ktor is an asynchronous framework for creating microservices, web applications and more. It is possible to use it to create a REST Client for yours Android applications. Before to continue, Retrofit is still a good framework to make API calls, in this article I’m just…

Android

3 min read

No more Retrofit, move to Ktor on Android
No more Retrofit, move to Ktor on Android
Android

3 min read


Feb 23

A custom pagination in Compose — An alternative to the Android Paging Library

The idea of this article is to propose an alternative to the Android Paging Library that it could handle the pagination without using external libraries, also we are looking for a method that it saves internally the result (offline mode) and that it could be consulted in a pagination way…

Android

5 min read

A custom pagination in Compose — An alternative to the Android Paging Library
A custom pagination in Compose — An alternative to the Android Paging Library
Android

5 min read


Feb 15

Android: Single Source Of Truth Strategy (Offline-First)

As suggested by the name, with single source of truth strategy we are defining a place where to find and store our data, being sure that there is just one source accessible to the rest of our app. Also, it helps us to have a version of our data available…

Android

4 min read

Android: Single Source Of Truth Strategy (Offline-First)
Android: Single Source Of Truth Strategy (Offline-First)
Android

4 min read


Jul 27, 2022

Android developer as Backend developer: Ktor server on Heroku using Git

As Android developer we are very lucky, as with Kotlin it is possible to create all kinds of projects so why not create a backend project for our apps? With Ktor, an asynchronous framework for creating microservices, web applications and more, is possible to create a server application. Setup You can…

Android

4 min read

Android developer as Backend developer: Ktor server on Heroku using Git
Android developer as Backend developer: Ktor server on Heroku using Git
Android

4 min read


Jul 24, 2022

Compose Theme: How to change light and dark mode dynamically with SharedFlow

In this article I want to propose a method to change from light mode to dark mode and vice versa using SharedFlow. Part I: Animated colors switching from light to dark mode Flow and SharedFlow First let’s look at what a Flow is, let’s read the documentation: In coroutines, a flow is a…

Android

3 min read

Compose Theme: How to change light and dark mode dynamically with SharedFlow
Compose Theme: How to change light and dark mode dynamically with SharedFlow
Android

3 min read


Jul 24, 2022

Compose Theme: Animated colors switching from light to dark mode

In this article I’ll explain how to switch from light to dark mode and viceversa, smoothly than usual using animated colors. Part II: How to change light and dark mode dynamically with SharedFlow

Android

2 min read

Compose Theme: Animated colors switching from light to dark mode
Compose Theme: Animated colors switching from light to dark mode
Android

2 min read


Jul 10, 2022

Custom View: Swipe Button in Compose

In this article I’ll explain how to create a swipe button that it launches a callback when it swiped.

Android

3 min read

Custom View: Swipe Button in Compose
Custom View: Swipe Button in Compose
Android

3 min read


May 27, 2022

No more Retrofit, move to Ktor on Android — Logging and Interceptor

In the previous article here, we see how to implement Ktor on Android, now we focus on Logging and Interceptor. Logging First, add the logging dependencies in build.gradle: implementation "io.ktor:ktor-client-logging:$ktor_version" Next, we have to install Logging on HttpClient : install(Logging) { logger = Logger.DEFAULT level = LogLevel.ALL } Logger.DEFAULT uses an…

Android

2 min read

No more Retrofit, move to Ktor on Android — Logging and Interceptor
No more Retrofit, move to Ktor on Android — Logging and Interceptor
Android

2 min read


Apr 30, 2022

Formatting Android code with Ktlint and Git Hooks

How many times did it bother you to see unformatted code during a code review? Or how many times did you ask your colleagues to respect the same guideline when they are coding to make the review easier? It is a solution for this problem, with ktlint and git hooks…

Android

2 min read

Formatting Android code with Ktlint and Git Hooks
Formatting Android code with Ktlint and Git Hooks
Android

2 min read

Barros

Barros

163 Followers
Following
  • TechMagic

    TechMagic

  • Leonardo Cavagnis

    Leonardo Cavagnis

  • Ben Weiss

    Ben Weiss

  • Bitcoin In Action

    Bitcoin In Action

  • Arnold Schwarzenegger

    Arnold Schwarzenegger

See all (26)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams