Commit Graph

12 Commits

Author SHA1 Message Date
Alexander Doerflinger
8bf84bf936 Backup for local changes 2017-08-16 12:48:58 +02:00
Alexander Doerflinger
a25a12b8c7 [INTERMEDIATE STATE] Pager implementation started
Seems not to work at all. We need to have a further look into this.
At least it is somehow not crashing anymore...
2017-08-10 16:54:55 +02:00
Alexander Doerflinger
9494c081d1 Added Generic and Specific Fragments
Generic Fragment Layout was defined
Specific Laout Object wer integrated including all object specific handling
FragmentObjects can now be added to ListViews.
Possible clean solution would be to have a PagingAdapter for each object type.
2017-08-10 10:11:29 +02:00
Alexander Doerflinger
8967107045 Fixed some general warnings. 2017-08-09 16:24:19 +02:00
Alexander Doerflinger
8e5791d35e Added support for game and onlyAvailable when retireving data
From now on, it is possible for the API to retrieve only object which
are assigned to a specific game or only objects that are available or both.
This might (pretty sure it is) needed in the future
2017-08-09 16:18:33 +02:00
Alexander Doerflinger
05076a01f1 Added "GetAll" Functions to Database handler
These functions return all items of a single kind.
We need to think of if we should handle more logic within sqlite
queries (eg. more specific like get all characters of this game) or if we would
like to handle this on apps side.
2017-08-09 15:28:22 +02:00
Alexander Doerflinger
18293d631c Database Up and Running
The Database is now fully functional. For the moment the database is not
fully integrated as we do not have all available data yet. Needs to be
filled with proper data.

For the mechanism to upgrade databases please refer to
https://github.com/jgilfelt/android-sqlite-asset-helper/blob/master/samples/database-v1/src/main/java/com/example/MyDatabase.java
2017-08-09 14:32:44 +02:00
Alexander Doerflinger
349c67f093 Added basic SQLite functionality NOT FUNCTIONAL YET
Unfortunately the Databse connection is not functional yet
as we seem to have some general problems with the db handling.
2017-08-08 12:56:44 +02:00
Alexander Doerflinger
5a1ba02c20 Fixed Database name to real name (may be changed later) 2017-08-07 17:16:15 +02:00
Alexander Doerflinger
43d91a8a2d Added Constants for database access.
Added a Contants class which contains all global
database keys and some other global information.
2017-08-07 17:14:26 +02:00
Alexander Doerflinger
68a4744fa0 Added default constructors to database models
Empty constructors are needed as we apply the single parameters
using setters. Also it seems to be a sqlite standard.
2017-08-07 16:46:01 +02:00
Alexander Doerflinger
3be3e9ff57 Initial commit 2017-08-07 16:31:49 +02:00