Commit graph

4662 commits

Author SHA1 Message Date
misaochan
b755ea1144 Strip quotes 2016-08-29 20:17:22 +12:00
misaochan
186d6ed87d Add image conditional for landmark and city 2016-08-29 20:04:33 +12:00
misaochan
e75c7fc5e8 Change overlay text color to white 2016-08-29 19:56:43 +12:00
misaochan
76bbc810c8 Display drawable icon appropriately (not conditional yet) 2016-08-29 19:52:33 +12:00
misaochan
2a7a0a3e08 Modify comments 2016-08-29 19:40:37 +12:00
misaochan
23eb8a2d37 Add icon field 2016-08-29 19:36:38 +12:00
misaochan
271df17db9 Add distance field 2016-08-29 19:29:49 +12:00
misaochan
fa85e14943 Tidy up fragment_nearby, remove button 2016-08-29 19:22:58 +12:00
misaochan
ee0ee3f0f9 Get layout to work with my IDs 2016-08-29 19:22:12 +12:00
misaochan
bd19b8ceff Fix tvName 2016-08-29 19:14:51 +12:00
misaochan
89b073b4bc Add overlay text 2016-08-29 19:11:40 +12:00
misaochan
c48c20cabb Fix ImageView 2016-08-29 19:09:04 +12:00
misaochan
89e4dc957d Copy ShootMe display layout 2016-08-29 18:39:15 +12:00
misaochan
873218e526 Adapter now populates view with list items 2016-08-29 18:29:52 +12:00
misaochan
b779ec097d Modify listview, add button for debugging 2016-08-29 17:45:43 +12:00
misaochan
d2e1c50fc5 Add logging to adapter 2016-08-29 17:31:36 +12:00
misaochan
48e55de44a Put utility functions at bottom 2016-08-29 17:12:22 +12:00
misaochan
f81b40454a Use current location again 2016-08-26 18:59:09 +12:00
misaochan
6b2af436d9 Change limit back to 100 2016-08-26 18:55:37 +12:00
misaochan
a0ea2a09b9 Print distance between current location and Place 2016-08-26 18:50:39 +12:00
misaochan
8adb257e97 Test for sorting - it works 2016-08-26 18:46:01 +12:00
misaochan
5953395fa2 Pass location to NearbyListFragment 2016-08-26 18:41:08 +12:00
misaochan
2cdc07c601 Check sorted list - location not working 2016-08-26 18:31:48 +12:00
misaochan
01a104f029 Add comments 2016-08-25 19:13:02 +12:00
misaochan
854b1ce254 Add comments and notifyDataSetChanged() 2016-08-25 19:10:21 +12:00
misaochan
f5d448285f Clarify fragment code 2016-08-25 19:00:40 +12:00
misaochan
d62fd565b6 Moved adapter setup to onViewCreated, to prevent crash 2016-08-25 18:56:39 +12:00
misaochan
b7d0e6e725 Change listview code and .xml file 2016-08-25 18:45:08 +12:00
misaochan
9836fb920e Change to ListView in layout file to solve crash 2016-08-25 18:32:13 +12:00
misaochan
55810cd050 Add check to only read 10 lines 2016-08-25 18:26:17 +12:00
misaochan
3809c1fdbd Comment out methods that only need to be added later 2016-08-25 18:11:19 +12:00
misaochan
ffe70f9d31 Modify loadAttractionsFromLocation and copy over MathUtil methods 2016-08-25 18:08:39 +12:00
misaochan
404e19e9d5 Modify loadAttractionsFromLocation 2016-08-24 19:31:31 +12:00
misaochan
ee27896589 Add loadFromLocation method 2016-08-24 19:24:47 +12:00
misaochan
fb3188914d Remove RecyclerView methods in NearbyAdapter 2016-08-24 19:16:42 +12:00
misaochan
c6c72af03f Link mAdapter 2016-08-24 19:11:47 +12:00
misaochan
613f0bc6ad Add Name and Desc fields, attractions->places 2016-08-24 19:01:56 +12:00
misaochan
e7032658a2 Add custom adapter class and item_place layout file 2016-08-24 18:55:56 +12:00
misaochan
45a1f546e3 Remove irrelevant CursorAdapter bits 2016-08-24 18:17:19 +12:00
misaochan
f35d565e97 Add progress bar in ListView 2016-08-24 18:08:45 +12:00
misaochan
7d99c93a00 Make NearbyListFragment extend ListFragment 2016-08-24 18:01:16 +12:00
misaochan
e2d3f65aef Add fragment_nearby.xml layout file 2016-08-24 16:41:58 +12:00
misaochan
5ca298dd4f Rename AttractionListFragment 2016-08-24 16:36:36 +12:00
misaochan
a6da5a9366 Copy over NearbyListFragment and link it to NearbyActivity 2016-08-24 16:31:34 +12:00
misaochan
3973f62b0a Add NearbyListFragment 2016-08-22 19:10:30 +12:00
misaochan
63f52ebd5e Create LatLng object 2016-08-22 19:04:20 +12:00
misaochan
3b3a338ccd Remove cities from Place.java 2016-08-22 18:58:35 +12:00
misaochan
b89ca7628e Remove 'city' from place 2016-08-22 18:58:02 +12:00
misaochan
b13b5c690a Change 'attractions' to 'places' 2016-08-22 18:45:41 +12:00
misaochan
c9a38819f0 Change <Attraction> to <Place> 2016-08-22 18:44:37 +12:00