All Questions
Tagged with android object-oriented
22
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 ...
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 ...
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 ...
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 ...
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, ...
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 ...
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 ...
3
votes
1
answer
148
views
Android - Simplify ViewModel and Repository classes with OOP
Let's say I have 2 repository classes:
...
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 ...
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
...
4
votes
2
answers
542
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 ...
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:
...
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 ...
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 ...
1
vote
1
answer
295
views
Android RecyclerView holding rows of razzles
I have a RecyclerView that works and everything, and this is how I coded it:
...