Skip to main content

All Questions

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 ...
michael.zech's user avatar
  • 4,358
5 votes
0 answers
2k views

Android nested RecyclerView handling clicks, using OOP

Brief Background: I just started learning Android Development recently. I have some experience with programming and understand the basics of OOP but am not confident that I am using principles of OOP ...
Ricky's user avatar
  • 51
1 vote
1 answer
63 views

Android APP user registration page implementation

This is a follow-up question for Android APP User class implementation. I am attempting to build a user registering system and this post shows the user registration page implementation. The ...
JimmyHu's user avatar
  • 5,392
1 vote
1 answer
75 views

Android APP Password Strength Assessment class implementation

This is a follow-up question for Android APP User class implementation. I am attempting to create a password strength assessment class which is named ...
JimmyHu's user avatar
  • 5,392
0 votes
1 answer
75 views

Android APP User class implementation

This is a follow-up question for Android app class serialization. The implementation of User class has been updated and the functionality of null string checking, ...
JimmyHu's user avatar
  • 5,392
0 votes
1 answer
420 views

Unit tests for User class with JUnit 5

This is a follow-up question for Android app class serialization. Some problems have been mentioned in forsvarir's answer. Then, I am following JUnit 5 User Guide to redesign the test cases for ...
JimmyHu's user avatar
  • 5,392
2 votes
1 answer
91 views

Android app class serialization

I am attempting to build an Android APP with the custom serializable class User. The public method Save is to save class ...
JimmyHu's user avatar
  • 5,392
3 votes
1 answer
148 views

Android - Simplify ViewModel and Repository classes with OOP

Let's say I have 2 repository classes: ...
Mertcan Seğmen's user avatar
2 votes
1 answer
81 views

Collision detection on Android

This is the same game code from my previous question. I split the code into smaller "logical units". The runnable code "Moon Buggy" is available in beta from the google playstore. It was previously ...
Niklas Rosencrantz's user avatar
9 votes
2 answers
4k views

Android Tetris App Design

Recently I have finished my first bigger Android project. I made a little Tetris App. Here is a picture of my app in emulator: My Tetris has following functions: fast drop down play tetris music ...
Marten's user avatar
  • 585
4 votes
2 answers
543 views

Storing realm objects using Kotlin extensions

I am a Java Android Developer and I'm approaching Kotlin. I have defined the following class: open class Player : RealmObject() { ... } And I defined the ...
Gianni Genovesi's user avatar
1 vote
2 answers
645 views

Soldier class, with health points

Recently I completed the encapsulation lesson and I made a simple android app implementing encapsulation, I had difficulties understanding encapsulation. My Soldier class: ...
Abdelaziz Faki's user avatar
1 vote
2 answers
212 views

Make use of Object Oriented Design in an Android App with multiple activities

First off, I'm no Java programmer(but I do know the concepts of OO programming), I have this project I need to work on but I currently don't have a lot of time to spend in learning Java and then ...
lorenzattractor's user avatar
4 votes
1 answer
877 views

Android "ServiceListener" class for listening web services

I'm new in Android, Java and the whole object-oriented programming, I'm trying to develop an app which needs to listen on many web services (PHP scripts written by me returning a standardized JSON ...
Cliff Burton's user avatar
1 vote
1 answer
296 views

Android RecyclerView holding rows of razzles

I have a RecyclerView that works and everything, and this is how I coded it: ...
user6846563's user avatar
4 votes
1 answer
290 views

SQLite database for books

First, my Book object: ...
The 29th Saltshaker's user avatar
4 votes
1 answer
46 views

Places and their PlaceCategories

I'm going to start small here because I actually have several questions but I'll go one at a time. In the app I am making to better learn Java/Android/SQL/OOP, I have a page where a user can define ...
The 29th Saltshaker's user avatar
1 vote
1 answer
502 views

Simple login and authentication app

For school I had to do a real simple login and authentication system on an Android app, and I'm wondering how my code can be optimised to reduce code duplication and how it can be made more object ...
James111's user avatar
  • 213
6 votes
2 answers
4k views

Three-in-a-row board game

I don't truly understand how OOP works and It's stopping me from creating good programs! Below I have a program that will check to see if there are 3 tiles from a gridview in a row. Here's a ...
James111's user avatar
  • 213
2 votes
1 answer
298 views

Displaying a list of players and their leagues

My question is mostly directed towards the principles of object-oriented programming. I have an Android application and one of the activities has a ListView. In ...
parakmiakos's user avatar
4 votes
1 answer
1k views

Location-based reminder application

I'm creating a location-based reminder application in Android using proximity alerts, geocoder, Google Maps API and their Places API. Currently there is a default ...
abstrakt's user avatar
1 vote
1 answer
4k views

Getting multiple inputs from single EditText

This is an Android app and there is a EditText box, and I need to accept multiple types of inputs one after another in order. This order is predefined. On ...
Kamath's user avatar
  • 111