42 Commits

Author SHA1 Message Date
Joren
fd122ec376
Sort the list alphabetticaly for bin search 2024-04-30 01:52:35 +02:00
Joren
0ebf26c457
Instaid of searching is a string contains, start from the beginning... makes more sense 2024-04-30 01:51:20 +02:00
Joren
3085f958bd
When display limit is reached, stop filter 2024-04-30 01:49:14 +02:00
Joren
ba724006c2
Remove unused imports 2024-04-30 01:42:28 +02:00
Joren
2f1c6604ba
Make sure code doesnt get fetched multiple times, share the same vm over the whole session 2024-04-30 01:40:33 +02:00
Joren
e0a40a548e
Some ugly code..., it works 2024-04-30 01:04:22 +02:00
Joren
93b4d04587
Change names of database methods 2024-04-30 00:05:02 +02:00
Schipman Joren
3af9a606ae Merge branch 'addFavourites' into 'master'
Add favourites

See merge request ti/2023-2024/s4/mobile-security/students/joren-schipman/pokesearch!2
2024-04-29 21:20:49 +00:00
Joren
77d7056962
Implement view model provider, local database 2024-04-29 23:19:14 +02:00
Joren
ec25b03e98
Add repo, .. 2024-04-29 22:32:19 +02:00
Joren
6abf4100f2
Add Favouite, Dao and database 2024-04-29 22:04:12 +02:00
Joren
b5573783b9
Add roop deps 2024-04-29 21:40:55 +02:00
Joren
6fea30789d
Add favourite button 2024-04-29 21:26:35 +02:00
Joren
9b0d0e2bea
Remove unused routes 2024-04-29 20:32:31 +02:00
Joren
4c5170d000
Profile page is not needed for our purpose 2024-04-29 20:31:40 +02:00
Joren
b9ca44892b
Add favourite button, make tiles larger 2024-04-29 20:27:38 +02:00
Joren
ed2d8e6409
Capitalize first letters of name 2024-04-29 18:16:49 +02:00
Joren
51d27941ab
Fix spacing 2024-04-29 18:12:44 +02:00
Schipman Joren
f6a8ba6133 Merge branch 'display-pokemon-as-images' into 'master'
Display pokemon as images

See merge request ti/2023-2024/s4/mobile-security/students/joren-schipman/pokesearch!1
2024-04-29 16:01:20 +00:00
Joren
8419c74f5f
Add name of pokemon under its image 2024-04-29 18:00:35 +02:00
Joren
9ee9d5af0e
Display images 2024-04-29 17:53:35 +02:00
Joren
3352417e12
Move folders 2024-04-29 17:38:29 +02:00
Joren
1f17e6066f
Fully move api according to dev.android.com basics 2024-04-29 17:33:47 +02:00
Joren
e7d53f67b0
Remove useless stuff 2024-04-29 17:09:27 +02:00
Joren
d82cedd526
Remove useless stuff 2024-04-29 17:08:56 +02:00
Joren
e433bad681
Get details from api, instaid of displaying message just return empty list 2024-04-29 16:47:03 +02:00
Joren
f7bd501921
Instaid of getting the species, get the pokemon itself 2024-04-29 16:30:09 +02:00
Joren
7b3131d510
Revert change in PokeSearch.kt 2024-04-29 16:19:42 +02:00
Joren
a77acd56c7
When nothing is entered display so 2024-04-29 16:15:09 +02:00
Joren
32662281b3
Start the view in the nav so that it doesn't refetch every time 2024-04-29 16:08:03 +02:00
Joren
e8881a2921
Get all pokemon from API 2024-04-29 15:49:08 +02:00
Joren
57cc5c827b
Fetch pokemon 2024-04-29 13:45:49 +02:00
Joren
5ff9afaa87
Get rid of annoying transitions 2024-04-29 12:25:01 +02:00
Joren
67a89c449c
Add beginning of viewmodel, update nav on back gesture 2024-04-29 12:10:54 +02:00
Joren
a2145bedc0
Move some things 2024-04-28 17:19:56 +02:00
Joren
b2e618a205
Sizing buttons is too hard, get rid of the button all together 2024-04-28 17:02:09 +02:00
Joren
ed8076faab
Fix nav bar icons 2024-04-28 16:14:56 +02:00
Joren
5e088363f3
Fix nav bar icons 2024-04-28 16:14:24 +02:00
Joren
8ea27a59bc
Replace nav with a functional bottom anv 2024-04-28 16:03:35 +02:00
Joren
28bab67641
Add NAVbar 2024-04-28 00:29:28 +02:00
Joren
999e620c10
Add basic search field 2024-04-27 20:26:04 +02:00
Joren
ce1509c4bd
Initial Commit 2024-04-27 19:07:12 +02:00