Tagged Questions
0
votes
0answers
28 views
Orginization of Code
So I'm writing an app for android and I'm trying to figure out how to write it more efficiently. If I was writing it in Java, I would have had seperated the code into methods and classes but I'm so ...
0
votes
0answers
66 views
Optimization of Android code suggestions? Iteration based
At the "if(a==2)" part of my code below, the android emulator takes 8 seconds to process and display some data in a list. I need to reduce this time to 1 second or less. I am accessing a 50 KB .txt ...
2
votes
2answers
1k views
Optimizing mass inserts into SQLite
I am trying to optimize inserts from a returned JSON which contains data from multiple tables on the remote server. My code is working, but I just want to figure out a way for it to work better. I ...
2
votes
1answer
107 views
Sorting parallel ArrayList
I have a model class that contains 3 ArrayList which are in order by parallel of the same size. <Object><Calendar><Long> I want to sort it by the <Long> Is this the most clean? ...
-1
votes
1answer
68 views
Applying for a job as a Java developer/QA Specialist [closed]
I have recently applied for a job as a Android Java developer/QA specialist. The company has now asked me to show them some of the code that I have written so far. Since I am a indie developer, that ...
1
vote
1answer
67 views
Using java keyword final on reference objects inside methods body [closed]
As per Joshua Bloch's book "Effective Java", Item 15 - Minimize mutability, using final keyword on private class fields in addition to immutability and thread-safe syncing could improve performance.
...
3
votes
0answers
84 views
OpenCV Mat processing time
I'd like to know whether having different variables for the src (source) and dst (destination) of an OpenCV function will have an effect on the processing time. I have two functions below
that does ...
3
votes
1answer
355 views
Efficient Album Cover loading for ListView
I have a list view which display in each view a Album's name, the associated Artist and the album art.
Here is the code of my ListFragment which display this list:
public class AlbumsFragment ...