reddit_androiddev | Unsorted

Telegram-канал reddit_androiddev - AndroidDev - Reddit

-

Stay up-to-date with latest news on Android Development! Content directly fetched from the subreddit just for you. Powered by : @r_channels

Subscribe to a channel

AndroidDev - Reddit

Take home project: is it okay to refactor?

Hello, so I have this take-home project that I need to improve, fix bugs, etc. The project is using RxJava but I think it'd be better to use coroutines. However, I don't know if this might be seen negatively because I'm changing something that might o might not be important to them (like what if they want to see how I use RxJava?). The company did say they are migrating from RxJava to coroutines so maybe it's not a bad idea? But I'm not sure.

So the main question is, is it okay to refactor th...

https://redd.it/1jb30f9
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Vulkan is now the official graphics API for Android

Google’s biggest announcement today, at least as it pertains to Android, is that the Vulkan graphics API is now the official graphics API for Android.

https://android-developers.googleblog.com/2025/03/building-excellent-games-with-better-graphics-and-performance.html...

https://redd.it/1jawo7g
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Android Developers Blog: Multimodal image attachment is now available for Gemini in Android Studio
https://android-developers.googleblog.com/2025/03/multimodal-image-attachment-now-available-gemini-android-studio.html

https://redd.it/1jah2yj
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

SDK Activity communication with host app

Hi,

We are writing an Android SDK that contains many screens. All screens (fragments) are in a single activity.

We are thinking of using ActivityResultLauncher when starting the SDK (activity). In this way, we can send the necessary parameters at the beginning and return a result when the SDK is closed.

But there is also a request on the client side. There is an analytics tool in the app that will be the host and we want to send events here instantly while navigating the screens in the SDK. I...

https://redd.it/1jakrb0
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Unit Testing Lifecycle and State in ViewModels
https://medium.com/androiddevelopers/unit-testing-lifecycle-and-state-in-viewmodels-9d406c08cbd7

https://redd.it/1jagtnb
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Using Stripe Atlas as a non us individual to be able to add apps into the app store?

I am developing apps, it will be my first time ever doing it. I want to do it as a company instead of as an individual, I was wondering if anyone has tried this and if you recommend it?

Thank you!...

https://redd.it/1ja903x
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Privacy Policy must not be presented as a Github link

Ok so I've attempted to submit an update to my app only to have it rejected by the reason mentioned in the title.
Now, I don't have my own website and it only says that the app cannot be presented as a github link, not that it can't be one.
So can I just put it as a bit ly link or something? Does anyone have any experiences with this problem?...

https://redd.it/1jac5jl
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Compose: should I send event into ViewModel or invoke callbacks from Composable

I don't really understand the advantage of calling onEvent from composable with sealed class argument. But many people add this overhead. What's the reason for not using callbacks directly...

https://redd.it/1ja8slw
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Best Approach for Developing a Free & Paid Android App with Jetpack Compose?

I’m planning to develop an Android app using Kotlin and Jetpack Compose. This will be my first paid app, and I also want to offer a free version with ads.

I have a few questions about the best approach to structuring the development:

1. Should I create two separate GitHub repositories, one for the free version and one for the paid version?
2. Is there a way to develop a single app where the ads are removed, and extra features are unlocked when the user pays?
3. If so, what’...

https://redd.it/1j9yei8
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Bottom Nav Bar in Compose

Here's the situation, we want the bottom nav bar to be displayed in 4 major screens, navigating between these screens shouldn't re-render the bar (atleast not visually). When navigating deeper from the 4 major screens nav bar should not be visible. The implementation we used is to make a scaffold, and put the whole nav graph as it's content. To hide it in the nested screens we implemented a state that is derived from the current stack entry, that would hide or display the bar with a nice little ...

https://redd.it/1j9peut
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Customize Text Selection Toolbar in Jetpack Compose

I'm trying to customize the text selection toolbar for TextFields in Compose. I want to just keep the "Paste" option.

I have created a custom Impl of TextToolbar. It works most of the place but not for TextFields inside BottomSheets.

Here's how I'm using it:

val myToolbar = MyToolbar()

CompositionLocalProvider(LocalTextToolbar provides myToolbar) {

// Root of compose tree

}



How can I make ...

https://redd.it/1j9gol0
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Good Android Programming(Java) Course/Tutorials?

Have Android Programming as a course in Uni and the teacher is crap at teaching our maybe I just dont resonate with his style of teaching. I know Java isn't really used anymore in Android Development but would have to learn that as our syllabus is based on that.
Also for some reason the teacher insists that we use the design view to create the software negligibly and focus on the programming part the most. So I have struggled to find any yt tutorials that take me from basic to intermidiate/adv...

https://redd.it/1j9h2tp
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

About mentorships

Hi there! I've been working as an Android developer in the industry for about 8 months now. Recently, I got accepted into a mentorship program that's starting soon. I really want to make a good impression on my mentor and make the most out of the time we have together.

For those who have mentored or been mentored before, what kind of questions should I ask? And how should I structure the sessions to get the most value? Would it make sense to build an app together from scratch, or should I focus...

https://redd.it/1j9h67m
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

What's the proper way to manage variations across build variants for white label apps?

I've worked with some white label apps, but I still don't know the proper answer to this.

Is the answer simply to have all common code in the main source set, and to have all varying code in specific variant source sets?

One issue I see is what if you had a view model in the main source set, then suddenly this view model needs to do something slightly different for one build variant.

Do you end up copying and pasting the whole view model, duplicating it into that variant source set, then edit...

https://redd.it/1j9czck
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

ANR on devices with RAM <= 1024MB

Has anyone succeeded reducing ANRs on these devices when using Admob and MediaSessionService etc.?

No matter what I do, I can't reduce it. Should I exclude them?...

https://redd.it/1j9dtby
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Is there anyway we can implement chart in widget using Glance?

I'm trying to draw some chart for my app's widget.

But I cannot find anyway to do it using basic UI component of Glance.

Do you guys have any idea how to approach this?...

https://redd.it/1jau9rt
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Which model is best for Kotlin?

I’m curious what model you guys find the most useful for Kotlin. I’ve been heavy on Claude but maybe Google has something better as of late? ...

https://redd.it/1jawkup
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Jetpack Compose different AppBar setting for each screen

What's the convention for making screens with different back button, titles, quick actions and overflow menus?

From what I know, composables should reuse the same scaffold.

But how do I setup different configurations of that scaffold, namely the toolbar, for the specific needs of each screen?...

https://redd.it/1jakk02
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Build a Swipeable Image Carousel with Smooth Animations in Jetpack Compose!

If you’re working with Jetpack Compose and need a smooth, swipeable image carousel, I found a great guide that walks you through it step by step! 🚀

This article covers:
✅ Animating transitions between images

Whether you're building an e-commerce app, a gallery, or just want to level up your UI, this tutorial is super helpful. Check it out here:

🔗 https://redd.it/1jaisq3">Swipeable Image Carousel with Smooth Animations in Jetpack Compose
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Developer option force dark mode changes app colors

Hi all,

I'm a very experienced developer, but pretty new to Android development.
I've created an app for personal use only, which is working as expected.
The app is only running on an Android device with a dark mode theme, and should always appear dark.

I've created an app which is working as expected. The app is only running on an Android device with a dark mode theme, and should always appear dark.

I did notice one small visual bug I would like to solve. When the Android device has the...

https://redd.it/1ja8tqn
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

"App startup impacts everything: every time a developer starts the app or a tester runs a test, they pay the app startup tax" - Reddit app’s journey from 12.3 seconds to 3 seconds

When Reddit’s team discovered their app took 12 seconds to launch for p90 (90%!) users, they were shocked. With over 2 million DAUs on the Android app, that meant about 200,000 users were waiting for >12 seconds for the app to load.

Reddit's engineering team made game-changing improvements to their Android app, reducing cold start times by over 8 seconds from app launch to the Reddit feed.

Here’s how they did it:

* They audited startup tasks from start to finish and classified tasks as essent...

https://redd.it/1jad8y3
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

🚀 Introducing Writeopia – A Real-Time, Privacy-Focused AI Writing App!

# Hey everyone,

I’m excited to introduce Writeopia (github.com/Writeopia/Writeopia) – a real-time text editor that lets you choose your own AI assistant while keeping your writing private and offline-first!

## Why Writeopia?
I built Writeopia because I wanted a fast, distraction-free writing app that leverages AI without compromising privacy. Unlike most AI writing tools, Writeopia works entirely offline for those who prefer full control over their da...

https://redd.it/1jab4zu
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

What could be the 5 standard projects to build in Android dev.

I want to develop some personal projects to facilitate a job switch and include them in my resume.
What are 5 good projects that would incorporate the latest technologies, such as Jetpack Compose, Coroutines, Dependency Injection, Retrofit, Unit Testing, MVVM architecture, CI/CD, Dagger, etc?
...

https://redd.it/1ja8rzp
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

First android app
https://github.com/Ankumeah/Calculater

https://redd.it/1j9q3bh
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Need help with SystemUI
https://redd.it/1j9ob5j
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

I can't enter download mode to reinstall my system using Odin. The phone just keeps rebooting and nothing affects it

I can't do anything to get out of this and all of the 500 videos i watched about this ask you at some point to enter either of those to get out of the boot issue but the phone simply won't react. I am going crazy over this because that phone is almost new... I tried Odinn but it can't recognise the phone if it doesn't enter download and adb seem to need the phone to be able to boot. Can anyone help me ? This is all because of Magisk that i tried to unstall (the previous owner for a short period ...

https://redd.it/1j9lax9
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

How important is the 8-point grid system?

I'm working on a project and a lot of the designs have padding values that don't fit the 8-point grid system, e.g. 12.dp, 20.dp.

I'm wondering if it's worth flagging this to the designer or if I can just stick to the designs. Cheers....

https://redd.it/1j9hs3j
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

How to hide a Header when scrolling down

Hi! I have a header which is basically a rounded rectangle with some text and two buttons and a background image behind the rectangle which stretches to the very top.

And, I have some ’TabRow’ buttons underneath the ‘Header’ which show certain webpages. I want the Header to disappear when the User scrolls down and reappear when scrolling up. But, the Header refreshes with every Tab change.

Does anyone have any idea what to do, please? I tried to change the Header to a separate file too.

Thank...

https://redd.it/1j9fil3
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

How to have access to full viewmodel with dagger 2 di inside test class to test compose ui elements.

i have a fragment. which i modified to use a jetpack compose screen and in that screen I'm passing the viewmodel which uses dagger 2 for dependency injection like this.

I know it is not really a good practice to put the viewmodel inside the composable , instead i should lift the states up but right now viewmodel is a mess and using very old libraries. I'm planning to shift to dagger hilt and couroutines instead of rx java and dagger2.

private val languageViewModel by lazy { viewModel<Langu...

https://redd.it/1j9en30
@reddit_androiddev

Читать полностью…

AndroidDev - Reddit

Google Play Store rules 12 humans test is so frustrating as an indie dev
https://redd.it/1j99bdg
@reddit_androiddev

Читать полностью…
Subscribe to a channel