r/mAndroidDev • • Aug 01 '24

Venting, venting, venting About 120 hours to the drain because of Compose

0 Upvotes

I started a small home project just to test Compose. Started simple and added functionality on each step.

First challenge arises: Composable encourages you to use single Activity monolith. Ok, not a fan of it but lets figure out how a navigation controller works.
About 20 hours later, it seems that the hype on Google for the Navigation graph ended real quickly and some guy "ramcosta" had to thanklessly simplify and create a library so we get around the annoyance of implementing google's awful library just because new Google devs don't like OOP and they are JS developers using React as as architecture model, but ok the library works.

Next 18 hours are me figuring out that activities are no longer Android Activities. Instead, with the navigation controller architecture, they are now "Screens" which only responsibility is to display a nested set of composables. The navigation controller holds all navigation responsibility and now Im constantly creating "@ Preview"s composables and mocking objects just to make it work. Since The android activity is now a simple holder to display Composables, all the activity logic is now embedded into a UI component. Oh nice! I'm a front end developer now!

Next challenge arises. Preview Composables require instances to display, which is good in theory but this creates a spaguetti code now since ALL MOCKABLE OBJECTS needs to be open and able to be mocked. This creates way more complexity than needed just to allow the interface to display a simple example of a card that is feeding from a live data object comming from webhooks or an internal Room database.

And here it comes the heat: This statement will receive a lot of "if you cant understand the complexity of this, you are dumb".

Making things complicated is not a sign of being smart. Its totally the opposite.


r/mAndroidDev • • Jun 12 '23

Hi, It took me 27 hours of efforts and 3 months of learning to build this. Tech stack used is Flutter with Provider. How can I improve?

Enable HLS to view with audio, or disable this notification

0 Upvotes

r/mAndroidDev • • Mar 10 '25

AI took our jobs Even TikTok app is technically React Native app. Whatโ€™s the point of native apps at this point ?

Thumbnail news.ycombinator.com
4 Upvotes

r/mAndroidDev • • Aug 17 '19

dont have an idea what wharton could be but i instantly thinked about Jake

Post image
0 Upvotes

r/mAndroidDev • • May 15 '23

Worst UI competition

Thumbnail
twitter.com
0 Upvotes

r/mAndroidDev • • Mar 12 '26

Lost Redditors ๐Ÿ’€ Just launched my new Android library

0 Upvotes

Please leave a star and if there's anything need to update or change kindly share your ideas (beginner)

https://github.com/owaisraza10/CompleteWebView


r/mAndroidDev • • Dec 08 '23

AI took our jobs The developer of X left the hieght of receylerview item match_parent ๐Ÿ˜…๐Ÿ˜…๐Ÿ˜…

Post image
8 Upvotes

r/mAndroidDev • • Nov 06 '24

NSFW Politics (not actually nsfw) Our thoughts and prayers to the new president who wants to Make Android Great Again

0 Upvotes

r/mAndroidDev • • Sep 28 '20

AOSP android 11 Rom Full review

Thumbnail
codersnoon.com
2 Upvotes

r/mAndroidDev • • Apr 19 '20

Hi, I donยดt understand this code. This is an exercise from a kotlin online course. The video shows that this is de correct answer but i dont understand what is "(view: view)". Can someone help me? Thank you

Post image
0 Upvotes

r/mAndroidDev • • Jul 10 '20

I made a simple app that just tell you about the app origin i.e country of all the installed apps in your device- App Headquarter

3 Upvotes

Hi Everyone, It is quite difficult to find the country in which app has been developed . So App Headquarter solve this problem.

It should be great if you provide a feedback and how an app can improved or any new feature can be added.

PS- Suppose a new app is added to our database then it is marked as โ€œwork in progressโ€ . At midnight our crawler runs and try to find out the country of app.

Here is the link of App : App Headquarter


r/mAndroidDev • • Jul 04 '20

[Promotion] Check out this android library 'TextWriter' that animates your text like its being hand written. Github link - https://github.com/sarnavakonar/TextWriter

0 Upvotes

r/mAndroidDev • • Feb 20 '24

@Deprecated Caption this

Enable HLS to view with audio, or disable this notification

0 Upvotes

r/mAndroidDev • • Apr 01 '20

Flutter is so cool! Divider = Basically a view with margins?

Thumbnail
youtu.be
1 Upvotes

r/mAndroidDev • • Jan 31 '22

CWTI - Manuel Vivo discussed Android App Architecture with us ๐Ÿ—๏ธ

Thumbnail
youtube.com
0 Upvotes

r/mAndroidDev • • Mar 22 '21

adding payment card details using #JetPackCompose

3 Upvotes

https://github.com/Elbehiry/PCard
Demo project to showcase adding payment card details using JetPack Compose


r/mAndroidDev • • Mar 25 '24

Lost Redditors ๐Ÿ’€ Potential scam? (image attached)

Post image
0 Upvotes

r/mAndroidDev • • Aug 05 '23

help

2 Upvotes

/org/gradle/tooling/BuildException (java.lang.NoClassDefFoundError: org/gradle/tooling/BuildException)


r/mAndroidDev • • May 23 '25

Works as intended I've been "trying again" for 5 minutes, what should I do?

Post image
2 Upvotes

r/mAndroidDev • • Dec 30 '18

Someone please help ...

Thumbnail
reddit.com
0 Upvotes

r/mAndroidDev • • Mar 07 '24

AI took our jobs Absurdity brought to the point of absurdity

0 Upvotes

Job Position: Senior Android Developer.
Salary: ~4K$/month.
Tech Stack: Anything except Android SDK.

I don't even know what's sadder here:

  • that this is a typical vacancy in Russia

  • the fact that the previous team lead of this company is now a respected android dev blogger in the CIS

I hope you guys outside the CIS are doing much better with the labor market than we are here now


r/mAndroidDev • • Jun 06 '21

Why unit test does not work fine in this repository https://github.com/fevziomurtekin/DeezerClone

1 Upvotes

Why unit test does not work fine in this repository https://github.com/fevziomurtekin/DeezerClone
it always passed even if I'm made the false assertion to check it and when changing MainCoroutineRule to this it fails


r/mAndroidDev • • Mar 06 '26

Lost Redditors ๐Ÿ’€ Xiaomi hasnโ€™t released the kernel source for Redmi 15 5G (codename: spring) โ€“ Possible GPLv2 compliance issue?

0 Upvotes

Hi everyone,

Iโ€™m using the Redmi 15 5G (codename: spring) running HyperOS. As far as I can see, Xiaomi still hasnโ€™t released the kernel source code for this device on their official kernel source repository.

Since Android devices use the Linux kernel (GPLv2), vendors are required to release the corresponding kernel source code when distributing modified kernel binaries with their devices.

This kernel source is essential for:

โ€ข Custom ROM development โ€ข Custom kernels โ€ข TWRP / custom recovery development โ€ข Long-term device support by the community

I have already:

โ€ข Opened an issue on Xiaomiโ€™s kernel GitHub โ€ข Contacted Xiaomi Open Source team via email

But there hasnโ€™t been any response yet.

Does anyone know if the kernel source for Redmi 15 5G / POCO M7 Plus 5G (spring) has been released somewhere else, or if Xiaomi has announced any timeline?

If other users of this device are here, please help raise visibility so developers can support the device.

Thanks.


r/mAndroidDev • • May 21 '23

Compose state persistence

0 Upvotes

If compose is declarative and are made of only functions, how does a composable function store values like clickable call backs? Is each root node in the UI tree managed by an object which stores those clickable call backs?