1,716 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
80
views
Android Room - Efficiently Querying Relationships with Large Datasets and Avoiding N+1 Problem
I'm working on an Android app using Room Persistence Library for data management. My app deals with a relatively complex data model involving multiple entities with one-to-many and many-to-many ...
user avatar
user30292526
0
votes
0
answers
78
views
How do I set up an Android service in the recommended app architecture
I have inherited a WearOS app, which needs to use the watch sensors to record health data, such as heart rate, temperature and acceleration. The app is made in Java, is around 7 years old and it doesn'...
0
votes
1
answer
184
views
How to manage UI state from child screens in Jetpack Compose
I have a complex UI layout and each consists of small screens. Network requests are made in these small screens and Loading and Error states should be displayed on the outermost screen. When I do this ...
1
vote
0
answers
242
views
Deep linking in Compose Single Activity Architecture
Usecase: Single activity Compose app handling Firebase Auth magic email link.
Problem: if app is already opened and the user clicks the link, a new task is created and there are two instances of the ...
0
votes
1
answer
134
views
Size of uiState Class for Fragments / Activities
Question
Do I understand correctly, that according to googles guide on app architecture the uiState of a fragment/activity is commonly described by only ONE class (see picture below)?
For me as a ...
-1
votes
1
answer
407
views
material chip selection change not working in android
I have created group of chips and when i try try to click on chips below listener is not calling. I want to update the code based on chip selection.
chipGroup.setOnCheckedStateChangeListener
Below is ...
0
votes
1
answer
49
views
issue with inserting list of items in Room data base
I am trying to fetch news from API and trying to insert list of articles in Database. I am getting list size = 20 from API but database has only 1 row....inserting only last item from the list of ...
-1
votes
1
answer
224
views
Android: Model mapping in repository pattern
I want to fetch news from remote and map network response to entity class to store in room database in repository layer. i am using separate data class for both remote and database
Here are the data ...
2
votes
0
answers
442
views
Handle Jetpack Glance widget state in a clean way
Jetpack Glance is getting ready for stable release, I researched a lot about the best way to handle the state of widgets in a clean way in applications using Clean architecture, Hilt, MVVM, MVI and ...
2
votes
1
answer
519
views
Should I create a separate activity for different user types in a Jetpack Compose single activity architecture?
I'm developing an Android application using Jetpack Compose, and I'm facing a design decision regarding handling different user types, such as admin and user, within the app. Currently, my application ...
1
vote
1
answer
346
views
Can we copy "nowinandroid" android source code from github and customise it according my app needs?
I see that "nowinAndroidApp" has all the best practices and has many generic common modules like database, restapi, connectivitystatus and preferences for an app to be developed from scratch ...
0
votes
1
answer
84
views
How to get appModule properties in feature modules
My project is having feature1Module and feature2Module. These 2 are included in app module
build gradle file.
implementation project(":feature1Module")
implementation project(":...
0
votes
1
answer
83
views
Is this way of filtering data in ROOM database wrong?
I have a todo list app in which i utilized the ROOM database. also this app has some filtering features so the user can filter the list based on title, priority or description.
I want to know if the ...
0
votes
1
answer
122
views
How can I correctly implement SearchView using the ROOM library?
I'm looking to implement a SearchView feature in an app that utilizes the ROOM library. During my online research, I noticed that many examples and tutorials follow a pattern similar to the one below:
...
0
votes
1
answer
181
views
Potential memory leaks when using searchView along with ROOM database and live data
I'm looking to implement a SearchView feature in an app that utilizes the ROOM library. During my online research, I noticed that many examples follow a pattern similar to the one below:
override fun ...