Questions tagged [android]
Android is Google's software stack for mobile devices. For non-developer questions, see http://android.stackexchange.com
798
questions
3
votes
1
answer
90
views
Auth0 Credentials Manager in Android app
I am building an Android app that communicates with a REST API using Retrofit2 and uses Auth0 for authentication. The Android app needs to store access token from Auth0 and use it to authorize its ...
3
votes
1
answer
114
views
Logic to check if app was launched for the first time using DataStore
I have written a dummy code to check if an app was launched for the time using DataStore. It is working however i want to know if this can be optimised and i also observed a small glitch initially ...
3
votes
0
answers
48
views
Trying to properly modelize app settings in a MAUI app following MVVM architecture
Context:
I am working on a relatively simple MAUI app, which includes a Setting page allowing to customize the UX/UI of the app.
I am trying to make the best use of the functionalities of MAUI, while ...
5
votes
1
answer
85
views
Compose Grid With Lists
I have created a Grid out of using the new concept of List in Kotlin. I'm open to any feed back to how this code could be improved. It functions as expected and I'm happy with the results.
...
2
votes
1
answer
67
views
Handling View State & Side Effects with Lifecycle Awareness in Jetpack Compose MVI Composable
I'm working on a stateful Jetpack Compose composable that follows the MVI architecture. I'm using collectAsStateWithLifecycle() to observe the view state from a view model, but I'm unsure about the ...
0
votes
0
answers
85
views
React Native (expo) mobile application publishing to stores in Azure DevOps pipeline using different backends for different app versions
Mobile development is quite new for me, and I would like to ask about a solution review. I'm not sure the way I publish the application is correct, I think good companies may do it differently.
I have ...
1
vote
2
answers
112
views
Simple service that wraps access to json file
I'm wondering if this is the best way to write the Java code I have written. It works, but looks overly verbose, is it possible to rewrite any of the code to make it more concise? Please ignore the ...
2
votes
0
answers
207
views
Flutter Cubit: 2 Screens and Listview
I try to program a small app to track my cost spendings. As state management I use Cubit. As I am a flutter beginner, I wanted to verify if I implemented it correctly.
The UI consists of 2 screens: 1 ...
4
votes
1
answer
209
views
Storing icons in Room Database
I want to store some 512x512 icons for my Android app in a Room database. This is so each item in a list can have all the text data along with the image data stored in a single record.
The answers to ...
1
vote
0
answers
57
views
Architecting my Compose UI
I have designed a layout that includes recipe details and three CTAs in the app bar to share, delete, and edit recipes. I need feedback regarding the architecture of my Compose UI.
...
1
vote
0
answers
36
views
Good way to coding on React-Native?
I'm new on this field of coding, and I start to create by myself a project for iOS and Android. I'm a bit lost of how I supposed to organize my code, I saw different persons on YouTube doing their ...
3
votes
0
answers
129
views
MVVM signing in using firebase
I'm new to MVVM architecture. I want to have authentication with email + password, google and Facebook. I'm not sure if there should be separate view models for each authentication way:
...
1
vote
0
answers
64
views
Learning Jetpack Compose: TabBar with Paging Screens
I'm piecewise reimplementing an existing iOS app. My initial go at it visually looks like this:
I'm looking for any feedback on more idiomatic ways to implement what I've done. There's a couple of ...
2
votes
1
answer
388
views
Android: Navigation with Hilt + Jetpack Compose
The project is simple:
Login screen and a forgot password screen. You can navigate from Login to ForgotPassword.
I feel like I overcomplicated things, but I don't know if (and how) it can be ...
1
vote
0
answers
263
views
Jetpack Compose: Items-list with Item-Details-view
The app is based upon an exercise from a Udemy-course. The purpose is to become familiar with LazyColumns. I've enhanced the exercise with a Details-view and a navigation between LazyColumn and ...