Questions tagged [android]
Android is Google's open source OS and system for smart phones and tablets. Use this tag for software engineering questions about Android; for user questions, visit our sister site Android Enthusiasts Stack Exchange.
589 questions
4 votes
2 answers
431 views
Backup for an Android offline password manager
I am building an Android password management app, where passwords are locally kept for security reasons. The network endpoints are only for creating an account, email verifications etc. I want to ...
4 votes
3 answers
353 views
How to Deploy Machine Learning Model on Wearable Edge Devices?
I have done mostly machine learning with big data, GPUs on EC2 VMs, K8S clusters etc. But this new assignment is on the other end of the scale. Basically, it is a time series forecasting and ...
0 votes
1 answer
179 views
Is there any way to have an android or iOS app expose a web-api?
I want to develop a miminal app for iOS and Android. Basically, I want to have a widget (or similar micro-app) that displays how many items I have in a list. If I open the widget, it just opens a ...
2 votes
1 answer
115 views
What is the correct way to configure a testing mode on a class?
I have a repository which reads and writes to Firestore, and some tests to make sure data is sent and comes back in the correct way. In order to test this I added a protected function which returns ...
1 vote
1 answer
880 views
Is it normal to use multiple repositories in one viewmodel?
Does it violating any conventions? Is it acceptable by MVVM? I have to separate the local data repository and online repository, but for login I have to use multiple repositories for getting response ...
2 votes
1 answer
161 views
Android Jetpack DataStore item separation
I am trying to migrate to Jetpack DataStore from good ol' SharedPreferences and there is one thing I am struggling to come to terms with and that is the amount/size of the data pulling out of ...
1 vote
1 answer
125 views
am I understanding MVVM correctly? [duplicate]
ViewModel has Two-way data binding with UI which means UI can access the data from ViewModel and can update the view models data. The Model has one-way data binding and is only supposed to respond ...
0 votes
1 answer
1k views
Android + Kotlin + Hilt: Dependency Injection vs Static Methods
I've already read this carefully, but still need more clarification. I'm not new to dependency injection, but new to Hilt, and trying to implement Hilt in my multi-module app. The reason? I currently ...