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

Is there some kind of SwiftUI -> Jetpack Compose Cheatsheet?

Hi,

Do you guys know any good(I found some but they're very very basic) tool that compares SwiftUI with Jetpack Compose?


For example I'm trying to figure out an alternative to simple stuff like `.onAppear` and `.onChange` modifiers....

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

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

AndroidDev - Reddit

Worth it to start? Jobs

Hi guys,

I'm 27 years old and just finished my Bachelor's degree in Computer Science, I live in Brazil.

Is it worth it to study Native Android Development to find a job?

​...

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

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

AndroidDev - Reddit

Android Studio Foldable Emulator. View Both Screens At The Same Time.

Hi

I would like to work on enchancing an existing project to make use of the new API within Android 14 that allows application to use both the inner and outer screen of a foldable phone such as the pixel fold or galaxy fold at the same time.

I currently do not own a foldable device so would like to use the device emulator within Android Studio.

It can emulate a pixel fold but I am trying to figure out how to get the emulator to display both the inner and outer screens at the same time to tes...

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

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

AndroidDev - Reddit

Need to create a Bottom navigation bar (custom back handler)

Need to create a bottom navigation bar with three tabs which returns to home tab whenever back button is pressed ( if three tabs A,B,C always return to A from B or C and clear the backStack) , Cannot find document without the use of fragments.

enum class Tabs(val icon: ImageVector, val title: String) {
Home(Icons.Filled.Home, "Home"),
Add(Icons.Filled.Add, "Add Friends"),
Share(Icons.Filled.Share, "Share")
}

@Composable
fun CurrentChats() {
v...

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

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

AndroidDev - Reddit

Weekly Who's Hiring Thread - March 11, 2024

Looking for Android developers? Heard about a cool job posting? Let people know!

Here is a suggested posting template:

> Company: <Best Company Ever>
> Job: <Title>\(https://example.com/job)
> Location: <City, State, Country>
> Allows remote: <Yes/No>
> Visa: <Yes/No>

Feel free to include any other information about the job....

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

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

AndroidDev - Reddit

Kotlin Design Patterns: Abstract Factory Explained
michalankiersztajn/kotlin-design-patterns-abstract-factory-explained-79c6594d7a70" rel="nofollow">https://medium.com/@michalankiersztajn/kotlin-design-patterns-abstract-factory-explained-79c6594d7a70

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

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

AndroidDev - Reddit

What is Opportunistic meaning in this case?
https://redd.it/1bbm46b
@reddit_androiddev

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

AndroidDev - Reddit

Is there any documentation stating that activity cannot be obfuscated?

I need an official documentation of Android or Proguard stating that activity cannot be obfuscated mentioning with the reason. I tried to search online even gone through Proguard documentation but didn't find anything regarding this. Please help me if possible 🙏...

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

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

AndroidDev - Reddit

Will a backup app get rejected



I want to create an app like google photos. The main focus is the the backup and search in your images (like you can search for cats in your photos). I have a cheap way to make a better search in images by using openAI's clip in a combination with a few tricks.

I even have a get rich strategy - Let the user use the search 10 times for free to get them to feel 🤯 and then ask 15$ premium per month to keep using the search options.

I think that this app can really boom, but do I have a chance g...

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

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

AndroidDev - Reddit

SplashScreen hypocrisy/inconsistency

Currently the right way and modern way for developing Android apps is Jetpack Compose, right? At least officially.
Anyway, I saw many people here and there frowning upon rolling your own Splash Screen. It doesn't matter if it's implemented using Handler for delay or a coroutine or the holy AsyncTask or you just showing your app icon or some fancy animation or even bootstrapping nearly half of your app architecture and stack and doing some IO in there is just top of it, I see many conside...

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

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

AndroidDev - Reddit

App Wrapper For Web Page

Hello guys, I have an idea to create an app, which will use Web View to access different web pages. And I'm only curious, how legal is that to access not mine web site, if I want to restrict the user from opening some pages or using certain functionalities of those pages?...

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

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

AndroidDev - Reddit

🥳 New Charts 1.2.0 release is live! 📊📈📉

[https://github.com/dautovicharis/Charts](https://github.com/dautovicharis/Charts)


**New in this version:**

* Contributions guidelines
* Demo app improvements and release: [https://play.google.com/store/apps/details?id=com.hd.charts.app](https://play.google.com/store/apps/details?id=com.hd.charts.app)
* Animations improvements: bar, pie, line chart
* Multi line chart
* Chart data validations
* Improved charts usability
* Readme update

**Full release note**: [https://github.com/dautovichari...

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

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

AndroidDev - Reddit

Kotlin 1.9 HexFormat
https://youtu.be/8EZTn3oGqt8

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

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

AndroidDev - Reddit

Suddenly Users got to zero? Saw this pattern in other apps too

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

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

AndroidDev - Reddit

Compound View with CollapsingToolbar problem!!!

Hello my dear reader)) I have a question, do somebody created compound view using CollapsingToolbar inside it? Because if I add it like this in my layouts

<com.example.core.ui.custom.CustomCollapsableToolbar
android:layout_width="match_parent"
android:layout_height="wrap_content" />

Collapsing toolbar doesn't react and freezes in expanded state. But if add it with include tag it works fine:

<include layout="@layout/collapsable_toolbar_b2b" />

Why it happens and how can I fix th...

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

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

AndroidDev - Reddit

How do you avoid duplication of common UI state/behavior between screens?

Scenario: I have a multi-screen form where each screen contributes to some form data. I use Jetpack's NavGraph and each screen fetches/mutates the form data using a shared repository, because that seems to be the recommended way.

Each screen has some behavior that I'd like to only have to define once somewhere. For example, when you go back to the previous screen it first asks if you want to discard your current changes in a pop-up dialog. I have one ViewModel per screen, so each VM needs to ha...

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

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

AndroidDev - Reddit

Development time - iOS vs. Android

I'm a UX designer for a mobile application with two separate apps and development flows for iOS and Android. My team has 4 developers for each platform.

Since I've joined, I've noticed Android development is lagging behind iOS a lot, like 4 or 5 weeks behind. I'm wondering, is this normal (or acceptable)?

It's not my responsibility to push the team, but I'm growing concerned about delivering key features for the business this year.

Thanks in advance, and sorry if this isn't the best place ...

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

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

AndroidDev - Reddit

How practical are unit tests in Android Development actually?

Those of you who have worked on Android projects with a ton of unit tests vs zero unit tests, how much tangible benefit do you feel you get from them? Being completely honest, how often do they actually catch issues before making it to QA or production, and would you say that's worth the effort it takes to write initially and modify them as your change logic?

My current company has 100% unit test coverage, and plenty of issues still make it to QA and production. I understand that maybe there wo...

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

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

AndroidDev - Reddit

I spent a week writing a robust internet monitor class which handles all cases (including when the user is using a VPN). Would love some feedback, and if you find the class useful please star my repo
https://github.com/abuicke/caimito/blob/master/lib/src/main/java/com/gravitycode/caimito/kotlin/net/InternetMonitor.kt

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

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

AndroidDev - Reddit

Weekly discussion, code review, and feedback thread - March 11, 2024

This weekly thread is for the following purposes but is not limited to.

1. Simple questions that don't warrant their own thread.
2. Code reviews.
3. Share and seek feedback on personal projects (closed source), articles, videos, etc. Rule 3 (promoting your apps without source code) and rule no 6 (self-promotion) are not applied to this thread.

Please check sidebar before posting for the wiki, our Discord, and Stack Over...

[
https://redd.it/1bc2lt4
@reddit_androiddev

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

AndroidDev - Reddit

Google Play app access for reviewers - my app requires user to provide their own API key

This is my first Google Play app.

My app requires user to provide their own API key (for an LLM).

I could create an API key solely for Google Play reviewers. But I can only see instructions / provisions to give reviewers a user and password, but not specifically for providing them with a single credential such as an API key.

Does anyone have any experience with simlar app and requirements for Google Play app access for reviewers?

&#x200B;...

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

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

AndroidDev - Reddit

Jetpack Compose
https://redd.it/1bbmc3i
@reddit_androiddev

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

AndroidDev - Reddit

Real device cloud service or physical devices for QA?

What do you use for testing hardware-critical parts of your app that cannot be simulated by testing with an emulator (e.g: camera, bluetooth, sensors, etc)?

Are you using a real device cloud service? If so, which one and why?

Do you use physical devices? If so, which ones offer the broadest coverage for the Android ecosystem?...

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

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

AndroidDev - Reddit

Why some dev makes their code open-source ?

For me it's very risky that someone forks the app with ads or creates a "pro version". And the benefits are just : maybe someone will contribute to the code a day. So I don't understand the motivations...

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

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

AndroidDev - Reddit

Live Now! Postcard Launched Their Android App!

Postcard makes it easy for friends and family to stay connected without having to post across public socials. Postcard bundles photos, text, and audio into one media type and users can send Postcards to friends over any messaging app. Profiles are private and user data isn't sold or shared.

https://play.google.com/store/apps/details?id=com.treesgro.postcard&amp;hl=en\_US&gl=US...

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

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

AndroidDev - Reddit

Share itnent without opening the application

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

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

AndroidDev - Reddit

Google Play Console Subscription Management (Preventing double Subscriptions)

So I want to publish an App to the Play Store.

I have different tiers in the app, that offer different priviliges. With the higher tiers being inclusive of the lower tiers. So of course I want to prevent that the user can subscribe to different tiers at the same time. How to achieve that in the Google Play Console? Should i create different Base Plans of the same Subscription or different Subscription objects? And how to handle Upgrades, e.g. if the user want to change from the base tier to th...

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

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

AndroidDev - Reddit

Dropping this here. Thought it was a pretty interesting read. It explores behavioral patterns for ICs, Teams, and EMs, from commendable to those utterly 💩
https://howareyou.work/exploring-26-behavioral-practices-in-software-development/

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

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

AndroidDev - Reddit

Top 5 Best Photo Editing Apps for 2024?
https://pixellabapps.blogspot.com/2024/01/top-5-best-mobile-photo-editing-apps.html

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

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

AndroidDev - Reddit

Refining Compose API for design systems
https://medium.com/bumble-tech/refining-compose-api-for-design-systems-d652e2c2eac3?source=friends_link&amp;sk=4914296c803535251d2d3fc04a86c865

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

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