saschoar

Dresden, Germany

saschahuth.com

Age: 27

I've been working as a freelancer in Android and web development for over two years. In addition to efficient, solid development practices, I'm aiming for a high usability and intuitive GUI design in my work.

Dec
2
awarded Necromancer
Nov
17
awarded Autobiographer
Nov
10
comment Android Endless List
From my understanding, the performance gain results from the fact that the evaluation here is only triggered when scrollState == SCROLL_STATE_IDLE, i.e. when the scrolling has finished. I think that's a reasonable trade-off between speed and user comfort.
Sep
30
awarded Explainer
Aug
12
comment Two identity columns
I know what you mean, @Gray, but when entering the else{...} case, it could still mean that the uniqueId field of data is not set: Think about a case where you get the data item from an API (that only returns the id and number fields, not your local uniqueId for that item) and you want save it in your database with createOrUpdate(). I'd say that case is quite common when you use ORMlite for syncing remote and local data.
Aug
10
comment Two identity columns
In the else case, don't you have to assign the uniqueId field of the existing Foo entry to the data object before calling update(data)? Because otherwise, the Dao wouldn't know which row to update. Also, before calling create(data), you'd have to make sure that the uniqueId field of the data item is not already existing in the database table.
Jul
23
awarded Notable Question
Jun
23
revised How to get duration of an video file?
added 1 character in body
Jun
23
revised Is it possible to set a maximum time allowed for android recording using intent?
edited body
May
15
awarded Student
May
14
comment How to use own DAO class with table config file
Ok, but for BaseDaoImpl, I need either an annotated class as a constructor argument or a DatabaseTableConfig, which I don't have because I define the table config in the text file and not in code.
May
13
awarded Enlightened
May
13
awarded Nice Answer
May
13
revised How to use own DAO class with table config file
edited title
May
12
awarded Tumbleweed
May
8
awarded Promoter
May
7
awarded Yearling
May
7
awarded Autobiographer
May
5
asked How to use own DAO class with table config file
May
1
awarded Student
1 2 3 4 5