Commit Graph

50 Commits

Author SHA1 Message Date
44b144fadf Load all UI info from DB
Update DB from API corrected
Added "lastfetch" attribute into local DB (last fetch from API)
2020-11-15 22:03:21 +01:00
BGbaderguet
8eacdc4c01 Making sure a city can not be insert 2 times 2020-11-15 20:20:54 +01:00
01572fb0c2 Trying to update localDB from API 2020-11-15 20:18:25 +01:00
BGbaderguet
58d29974f5 Trying to create the develop method 2020-11-15 19:37:20 +01:00
e6f0dc3029 Added weather attributes to City table 2020-11-15 18:10:51 +01:00
4b5415895b Update API Interface to pass city, metrics and API key as parameter into method.
Prepared UI with TextViews and ImageViews.
Import of all Images as Drawable Resources.
2020-11-15 17:41:41 +01:00
cb7db29f87 Update of all weather Classes (Some deleted, some modified)
Setup of Retrofit API and API Interface
Added test TextView2 on activity_temparature.xml in order to test API answer
Display Paris weather description on any city we click for the moment.
2020-11-15 15:27:05 +01:00
49871926bd Adding Classes to retrieve weather infos from API 2020-11-15 14:01:53 +01:00
BGbaderguet
88101f58ca Adding some functionalitys 2020-11-14 16:06:44 +01:00
BGbaderguet
fe7a018cf4 Adding the delete string that we are going to call in the item attribute 2020-11-14 16:06:20 +01:00
BGbaderguet
fdd80aa3a5 Creation of the "delete" item that we are going to add in the toolbar 2020-11-14 16:05:34 +01:00
BGbaderguet
39779040ad Adding the list of city (retrieved from the database) 2020-11-14 02:58:12 +01:00
BGbaderguet
b535207dae Activity to show temperature 2020-11-14 02:57:40 +01:00
BGbaderguet
64a6883c81 Class where we are going to call the API to show the temperature of a city 2020-11-14 02:57:06 +01:00
BGbaderguet
5c58efae68 Getting off shared preferencies 2020-11-14 02:56:19 +01:00
eb61b3fdb7 Add SharedPreferences to handle global behaviour. First use is "Hiding umbrella ImageView when new city is added into the DB" 2020-11-10 13:42:21 +01:00
BGbaderguet
9afb1cb8dd Adding some dependencies to use sqlite database librairies 2020-11-09 20:03:28 +01:00
BGbaderguet
dc530ac103 Adding some comments 2020-11-09 20:02:38 +01:00
BGbaderguet
9ddebecb9e Nothing less nothing more 2020-11-09 20:02:15 +01:00
BGbaderguet
7e869e0837 Just cleaning the code and adding some function (like reset the form) 2020-11-09 20:01:15 +01:00
BGbaderguet
80a0223d9a Repository to retreive the database elements 2020-11-09 20:00:26 +01:00
BGbaderguet
ce76466a0a Interface that use ICityService interface to describe the rules (by defining SQL querys) of our methods 2020-11-09 19:59:13 +01:00
BGbaderguet
641bb55b72 Interface that contains the declaration of our methods 2020-11-09 19:57:43 +01:00
BGbaderguet
57285a2cf8 Create our database 2020-11-09 19:56:50 +01:00
BGbaderguet
bd5e6bb9cc City class that describe a city as an object (used to retreive a city from the database and use it in the java code) 2020-11-09 19:56:16 +01:00
BGbaderguet
8f336520c9 Modyfing the id of our components 2020-11-09 01:10:35 +01:00
BGbaderguet
fd71bd2b9b Nothing but a space 2020-11-09 01:10:02 +01:00
BGbaderguet
90c18bf8d2 Replacement of the id of the plus button 2020-11-09 01:09:36 +01:00
BGbaderguet
a2625fe318 Creating the alert message and save functionality (not finish) 2020-11-09 01:08:57 +01:00
BGbaderguet
6ff8e099eb Calling the arrow and allowing back function to return to the parent activity which is the mainActivity (first screen) 2020-11-08 18:18:55 +01:00
BGbaderguet
9a92544df0 Changing the height and the minimum height of the toolbar in order to have a smooth design 2020-11-08 18:17:53 +01:00
BGbaderguet
777a5bf959 New design 2020-11-08 18:16:45 +01:00
BGbaderguet
115fe155b6 Changing the height and the minimum height of the toolbar in order to have a smooth design 2020-11-08 18:15:23 +01:00
BGbaderguet
2f85e69b3a Clean coding :p 2020-11-08 18:14:28 +01:00
BGbaderguet
9aaf27e309 Just added a string that we call in the edit text component in the main activity 2020-11-08 17:17:28 +01:00
BGbaderguet
e9bcbd8067 MainActivity class : make the connection between first and second screen for the moment with the plus button - FINAL DESIGN DONE 2020-11-08 17:12:39 +01:00
BGbaderguet
1a116d0b26 MainActivity class : make the connection between first and second screen for the moment 2020-11-08 01:27:07 +01:00
BGbaderguet
61ab159447 MainActivity class : make the connection between first and second screen for the moment 2020-11-07 19:57:49 +01:00
BGbaderguet
daf4c67032 Java class of the city page layout 2020-11-07 19:56:59 +01:00
BGbaderguet
b92ca8fe6e Design of the second page use to save a City 2020-11-07 19:56:30 +01:00
BGbaderguet
991682f0ce Vector assets (plus icon and umbrella icon) and layout components added in order to create the first page :) 2020-11-07 19:17:26 +01:00
BGbaderguet
66e1b0b154 Vector assets (plus icon and umbrella icon) and layout components added in order to create the first page :) 2020-11-07 18:45:58 +01:00
BGbaderguet
2733f4def2 Vector assets (plus icon and umbrella icon) and layout components added in order to create the first page :) 2020-11-07 17:59:05 +01:00
BGbaderguet
9fd97503d9 Vector assets (umbrella and plus button) and attributs added in order to create the home page 2020-11-07 16:02:58 +01:00
BGbaderguet
ba081732e5 Mise à jour du contenue TextView avec un password juste pour le fun 2020-11-02 21:06:16 +01:00
BGbaderguet
4068bc320a Mise à jour du contenue TextView 2020-11-02 18:03:54 +01:00
a88078e606 Update TextView test 2 2020-11-02 17:50:00 +01:00
596cff092c Update TextView test 2020-11-02 17:47:29 +01:00
bfe1916e10 Initial commit 2 2020-11-02 17:31:22 +01:00
113497ec2a Initial commit 2020-11-02 17:20:24 +01:00