It is a good idea to use https://pub.dev/packages/cronet_http and https://pub.dev/packages/cupertino_http for Android, iOS and Macos.
Dart packages
cronet_http | Flutter package
An Android Flutter plugin that provides access to the Cronet HTTP client.
👍6🤔1
Dependencies initialisation is simplified in a new version of starter.
Now it supports compile-time safety and is a bit easier to implement.
https://github.com/hawkkiller/sizzle_starter/pull/308
Now it supports compile-time safety and is a bit easier to implement.
https://github.com/hawkkiller/sizzle_starter/pull/308
GitHub
refactor: Changed depedencies initialization by hawkkiller · Pull Request #308 · hawkkiller/sizzle_starter
Simplified initialization processor
Removed initialization steps and hook
Now dependencies are initialized using a simple method call
Dependencies model doesn't use late initialization anymore
Removed initialization steps and hook
Now dependencies are initialized using a simple method call
Dependencies model doesn't use late initialization anymore
👍8🔥6🤔1
Im writing next article about architecture: everything you need to know about data layer.
It will be about data sources/ repositories. Their main objectives: caching, mapping, offline first.
I will also provide best practices and common mistakes.🫵
It will be about data sources/ repositories. Their main objectives: caching, mapping, offline first.
I will also provide best practices and common mistakes.🫵
🔥11👍9❤2❤🔥2😢1
I was not a huge fan of books
Frankly, even a year ago I didn't read anything
But things have changed! Two months ago I found out that it is a thrilling activity.
I started with a book about Stoicism(how to be a stoic) that gave me a fire.
Later, I read Eugene Onegin and recently finished Hamlet.
Currently, I'm reading the Divine Comedy and "Designing data-intensive applications". It is a dashing combination, isn't it? 😁
Frankly, even a year ago I didn't read anything
But things have changed! Two months ago I found out that it is a thrilling activity.
I started with a book about Stoicism(how to be a stoic) that gave me a fire.
Later, I read Eugene Onegin and recently finished Hamlet.
Currently, I'm reading the Divine Comedy and "Designing data-intensive applications". It is a dashing combination, isn't it? 😁
👍10❤4
I will probably host a broadcast where I develop a small application for myself using Flutter, are you interested? 😄
🔥28👍8
A bit about data layer and architecture using android documentation "mistakes" as an example.
https://twitter.com/michael_lazebny/status/1745769550161788930
https://twitter.com/michael_lazebny/status/1745769550161788930
X (formerly Twitter)
Michael Lazebny (@michael_lazebny) on X
Mistakes in Android Architecture Docs about data layer
The Android Developer website (https://t.co/7mmfn51el7) is an invaluable resource, packed with accurate insights.
In this discussion, I want to address three areas in the documentation that seem a bit…
The Android Developer website (https://t.co/7mmfn51el7) is an invaluable resource, packed with accurate insights.
In this discussion, I want to address three areas in the documentation that seem a bit…
👍8❤2🔥2
I have recently updated RestClient code a bit so that it is possible to handle custom exceptions thrown by the backend
Do you use similar wrappers or other approaches?
Do you use similar wrappers or other approaches?
👍6🔥4
I'm updating article about Error Handling and it will be public tomorrow
Michael Lazebny
Mastering Error Handling in Dart
Explore Dart error handling essentials: exceptions vs. errors, try/catch best practices, stack trace management and why either is bad.
🔥8👍6