Skip to main content

Questions tagged [android]

Android is Google's software stack for mobile devices. For non-developer questions, see http://android.stackexchange.com

0 votes
0 answers
18 views

I’m building a simple Food Manager screen using Jetpack Compose. The UI allows users to: Select a food category (Fruit, Vegetable, Snack, Drink). Select an item from that category. Add the ...
Ehtsham Hussain's user avatar
3 votes
1 answer
52 views

I have implemented a timer in Jetpack Compose. It counts down a given amount of seconds. The remaining seconds are displayed. Moreover the past and remaining seconds are displayed as a circular graph. ...
michael.zech's user avatar
  • 5,042
3 votes
1 answer
101 views

I’ve created a Jetpack Compose function called RegisterName for a registration screen where users input a nickname and agree to an EULA before proceeding. The function works as intended, but I’m ...
dev4Life's user avatar
4 votes
1 answer
99 views

I have tried to make my code more modular and reusable by utilizing fragments in activity. The purpose is to have a static activity with a FragmentContainerView that hosts various fragments. Each ...
Kevin's user avatar
  • 71
3 votes
1 answer
140 views

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 ...
Kevin's user avatar
  • 71
4 votes
1 answer
216 views

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 ...
dev4Life's user avatar
3 votes
0 answers
75 views

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 ...
Toto's user avatar
  • 131
5 votes
1 answer
133 views

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. ...
xxxVxxxlinux's user avatar
2 votes
1 answer
109 views

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 ...
Android Developer's user avatar
2 votes
2 answers
155 views

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 ...
Professor of programming's user avatar
5 votes
1 answer
269 views

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 ...
Rasputin221's user avatar
4 votes
1 answer
257 views

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 ...
Adam's user avatar
  • 331
0 votes
0 answers
55 views

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 ...
Dorian's user avatar
  • 9
2 votes
0 answers
162 views

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: ...
Edziu Kowalski's user avatar
2 votes
1 answer
417 views

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 ...
Simon's user avatar
  • 265

15 30 50 per page
1
2 3 4 5
52