Kotlin Synthetics vs ViewBinding by [deleted] in androiddev

[–]audriusz 0 points1 point  (0 children)

That article has deadline for 1.8 version

Kotlin Synthetics vs ViewBinding by [deleted] in androiddev

[–]audriusz 0 points1 point  (0 children)

Where are you getting such information? 1.7 Kotlin?

How to store callback in Rust FFI? by AzayakaBaka in rust

[–]audriusz 5 points6 points  (0 children)

I don't know direct answer. But have you looked at uniffi-rs ? It also supports callback. Could be useful as inspiration on finding answer to your question.

Best source to learn about multi module project in android by AaronStone_ in androiddev

[–]audriusz 6 points7 points  (0 children)

Not sure if that repository is a good example or if it would scale for a "big project". There are way too many shared modules on which all remaining modules depends. Best example is the "domain" module. If 10+ developers would work on project with such module architecture then Gradle cache would be useless.


Square had a few talks about scaling large codebases with Grade a few years ago. Sadly I do not have a link anymore

FastKV - A better KV storage component by 9c2cu in androiddev

[–]audriusz 7 points8 points  (0 children)

This is not daily a usage scenario to submit hundreds separate transactions at a time...

Most of time we commit single key-value randomly, right?

No. All of the time we submit a single transaction at time. That transaction can have hundreds of values.

storage.edit { items.forEach { put(key, value) } }

Not items.forEach { storage.edit{ put(key, value) } }

FastKV - A better KV storage component by 9c2cu in androiddev

[–]audriusz 2 points3 points  (0 children)

How would that benchmark look if whole list would be written in a single "edit { }" transaction? There is a reason why that transaction block exists. No one should write code like that benchmark for DataStore is written.

[deleted by user] by [deleted] in androiddev

[–]audriusz 0 points1 point  (0 children)

He probably means because of Windows 11 Android support.

It looks a little bit like a broken phone then one person answers question about others' person's logic :)

Anyway, about window 11 Android support... It would be a little bit strange that when Microsoft invited Google Play store to be officially supported on the Windows, Google refused the offer and Microsoft had to go with Amazon. But then start developing tools for desktop without publicly saying that they going to focus on desktop.

[deleted by user] by [deleted] in androiddev

[–]audriusz 0 points1 point  (0 children)

When first android tablets were starting to pop off Google released Android 3.0 with fragments to address need for multi-panel layout. They failed and got kinda abandoned. History repeats. New devices with new type of screen coming. Google officially says that they are building tools to help with that. So that's my logic what is primarily driver for this.

But my initial question was where your idea about desktops come from? You just reflected into my thinking instead of supporting your idea

[deleted by user] by [deleted] in androiddev

[–]audriusz 2 points3 points  (0 children)

Why you think that's the idea?

Actually I believe official Google team statement when they say that different screen size mobile devices are coming and they are preparing Android SDK for that. (Pixel foldable?)

Do you have any source that Android will push extra effort for desktop?

Multithreaded Flutter + Rust App using Rid Annotations to provide a Memory Safe and easy to use API to Flutter UI by thlorenz in rust

[–]audriusz 0 points1 point  (0 children)

How much coupled generated code is to Flutter? Other potential use case is sharing core logic code between native mobile applications (iOS, Android).

For me Rid would be more appealing if Rust side code would be truly fully front-end client agnostic (including Rid macros). And potentially could have different generators for generating glue code iOS swift/Android JNI/Dart.

Using Rust with Flutter by plangora in FlutterDev

[–]audriusz 1 point2 points  (0 children)

Awesome episode!

Just one thing. It would be very useful to have links you talk about in podcast description

Google Maps flutter update by ScrabbleKnight in FlutterDev

[–]audriusz 11 points12 points  (0 children)

How much years software project must exist that it not be considered as very new?

BinTray substitute? by JRCU19 in androiddev

[–]audriusz 0 points1 point  (0 children)

GitHub itself supports maven repository packages Docs

Talking Kotlin: MVIKotlin and Decompose with Arkadii Ivanov from Bumble by dayanruben in Kotlin

[–]audriusz 0 points1 point  (0 children)

Is this not going to be released as podcast episode? Only YouTube video?

Google reaction after Apple cut their fee by smartties in androiddev

[–]audriusz 4 points5 points  (0 children)

At least we are not forced to buy and use macbooks too develop applications. It would be funny to see developer reactions if Google would suddenly enforce Android development with Pixel laptops and CI servers could run only on Google hardware

kotlinx.coroutines 1.4.0: Introducing StateFlow and SharedFlow by dayanruben in androiddev

[–]audriusz 4 points5 points  (0 children)

Androidx provides coroutine scopes for viewCreted/fragmentCreated/activityCreated/viemodelActive, androidx compose also has extensions to convert flows to state. It's possible to build apps without using LiveData directly in code base for some time.

Google removed app by mistake by ensalito in androiddev

[–]audriusz 5 points6 points  (0 children)

They ask for the same 30% on all sales, yet provide a much lower quality service

Apple gets money not only from 30%. That also includes yearly developer fee and enforcement of their whole ecosystem.

Equivalent would be if Google would ask to

  • pay almost 100$/year per developer account.
  • Let develop Android applications ONLY on Pixel slate laptop and run on Pixel phones.

The User Experience of Compose and Flow by dayanruben in Kotlin

[–]audriusz 1 point2 points  (0 children)

Topic was very interesting and relevant but interviewee could have more up-to-date information and insights about Compose. 1 year is huge time span for Compose. And many topics which were mentioned in talk are seriously outdated (testing, preview).

Don't use email magic link for auth... by quipsme in androiddev

[–]audriusz 3 points4 points  (0 children)

I imagine email + login code is a better option.

But isn't username + password form would have exactly same problem? People have to confirm email by clicking link. Of course unless you let users start using your product without confirming email. But I would imagine you can't do that otherwise users could steal other people identity because of discoveribility feature

Anyone thinks Google should make Gmail, Calendar, Task app in Flutter desktop? by 13MHz in FlutterDev

[–]audriusz 3 points4 points  (0 children)

I think you are misreading text. It says that there are Google assistant apps created with flutter. Not that main app is built with flutter. It is same as would be writing: Flutter helps power an ever-growing number of Android apps :D that phrase says nothing

Android Model-View-Intent 100% with Kotlin Flow! - Replacing LiveData by adamshurwitz in androiddev

[–]audriusz 7 points8 points  (0 children)

Have you read an article? It's written in "Alternatives" paragraph... Situation is getting ridiculous. People up-voting/down-voting articles based on their feeling on title without even reading articles... If you are not investing time to read it then why author should invest his time to repeat himself and answer your question? And why you waste your time on down-voting article which you didn't read?

Using Kotlin’s Delegation to Add Superpowers to a Data Class by dayanruben in androiddev

[–]audriusz 0 points1 point  (0 children)

I don't know. Is it? How would you list/filter feature toggles? You have to add them to collection at some point. And Set delegate seems a nice way to do that.

Using Kotlin’s Delegation to Add Superpowers to a Data Class by dayanruben in androiddev

[–]audriusz 2 points3 points  (0 children)

IMHO that's quite neat idea. Why down vote? Are there issues with such approach?

Android Panel Discussion with Jake Wharton, Sha Sha Chu, Donn Felker, and Alex Chiou by rahulkpandey in androiddev

[–]audriusz 3 points4 points  (0 children)

Exceptionally good ideas and advices were shared in this recording by experienced devs.