All Questions
6
questions
4
votes
1answer
200 views
Code for sorting items in recyclerView
I'm have recyclerView which is needed for displayed for show list of my audio records. I added the ability to sort my audio records. Please take a look at the code that I use for sorting and tell me ...
2
votes
2answers
98 views
List Filtering Code
I am developing applications for android. In my application, the user can add information about his weight and watch the progress of weight change. I decided to add filtering of the elements according ...
1
vote
1answer
160 views
Using Enum in java to store a fixed set of mutable objects
I already posted this on Stack Overflow, but someone suggested to post it to Code Review instead.
I am creating an Android app that draws to the canvas. For this, ...
8
votes
4answers
2k views
Selecting an enum for a payment transaction
I'm writing a small Android application that deals with payments and, in my function that handles transactions, I need to translate a number of installments (1-12) and whether or not it has interest (...
4
votes
3answers
390 views
Page Enum with overridden methods for the first and last members
I am managing the changing of views in an Android app using this enum and associated methods. I am particularly interested in the Page enum's use of overriding <...
15
votes
2answers
3k views
Localizing an enum in Java
I am currently using an enum in my Android application to display time periods:
Weekly
Bi-Weekly
Monthly
Quarterly
Yearly
I created the enum like this, because I wanted to know the description, and (...