Open in app
Home
Notifications
Lists
Stories

Write
Federico Torres
Federico Torres

Home

Published in ProAndroidDev

·Jan 28

Kotlin Multiplatform Mobile and how to share ViewModel: An architecture proposal

We will review a framework for building KMM apps with the objective of not only share business logic but also presentation logic. Kotlin shared code will contain the core logic while from the client side (iOS and Android) we will have very few code, just Compose UI and SwiftUI. TL;DR If…

Android

6 min read

Kotlin Multiplatform Mobile and how to share ViewModel: An architecture proposal
Kotlin Multiplatform Mobile and how to share ViewModel: An architecture proposal

Published in The Startup

·Dec 9, 2020

Migrating From LiveData to StateFlow

I’ve worked a lot with LiveData and I think it is a great solution to save the UI state and observe it from the view layer without worrying about lifecycle issues, but… What is wrong with LiveData? This great data holder class in some cases is misused, in particular I have seen this two problems: …

Android

4 min read

Migrating From LiveData to StateFlow
Migrating From LiveData to StateFlow

Nov 14, 2019

RxJava: Take care of code running on main thread

Recently I have faced one problem on an android project related to RxJava, but first I want to explain two important things: ANR Acronym for “Application not responding”, if you are an android developer and you don’t know this concept, you should. ANR is one of the Android Vitals, these…

Android

2 min read

RxJava: Take care of code running on main thread
RxJava: Take care of code running on main thread

Oct 22, 2019

Best practices for implementing dagger in multi module projects

When you have a big application with more than ten or twenty modules, dagger will give you some headaches if it is not implemented right. The problem Imagine an app with a lot of modules, in this app to inject some object to module A you need to add a dependency…

Android

4 min read

Best practice for implementing dagger in multi module projects
Best practice for implementing dagger in multi module projects
Federico Torres

Federico Torres

Senior Mobile Engineer at Cognizant Softvision https://twitter.com/4fedee

Following
  • Alex Queudot

    Alex Queudot

  • Satya Pavan Kantamani

    Satya Pavan Kantamani

  • Dave Pell

    Dave Pell

  • MIT Media Lab

    MIT Media Lab

  • Marcelo Costa

    Marcelo Costa

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable