Commit graph

1402 commits

Author SHA1 Message Date
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
misaochan
8c11c1b311 Add Attraction as Place 2016-08-22 18:44:08 +12:00
misaochan
715aec0af0 Convert TouristAttraction.java to NearbyPlaces.java 2016-08-22 18:41:56 +12:00
misaochan
2eef7037f9 Comment out gpsCoords string 2016-08-22 18:26:09 +12:00
misaochan
1530ddc969 Add permission check for location 2016-08-22 18:25:16 +12:00
misaochan
043c970999 Register and unregister locationmanager 2016-08-22 18:07:30 +12:00
misaochan
7dd48e092c Copy relevant code from GPSExtractor 2016-08-22 18:01:43 +12:00
misaochan
f13cdc0485 Add comments to GPSExtractor 2016-08-22 17:58:38 +12:00
misaochan
cb3a8bfa02 Change string 2016-08-22 17:47:18 +12:00
misaochan
05af8a0827 Add NearbyActivity to manifest 2016-08-22 17:46:28 +12:00
misaochan
83307b407f Add basic activity 2016-08-22 17:39:35 +12:00
misaochan
9e13d644c5 Add NearbyActivity 2016-08-22 17:29:45 +12:00
misaochan
9f93b87a63 Add nearby icon to menu 2016-08-22 17:26:02 +12:00
Nicolas Raoul
b7087ba39a Merge pull request #235 from misaochan/master
Versioning, update Gradle
2016-08-17 13:37:50 +09:00
Josephine Lim
e874f357a9 Update changelog.md 2016-08-17 16:21:10 +12:00
misaochan
f4be7dc25e Versioning 2016-08-17 16:20:32 +12:00
misaochan
c735efed0b Merge branch 'master' of https://github.com/misaochan/apps-android-commons 2016-08-17 16:12:26 +12:00