Commit graph

227 commits

Author SHA1 Message Date
Martin Entwistle
069bca6f22 Refactor based on review comments. 2017-10-10 22:28:47 +01:00
Martin Entwistle
47adcbc5e4 Corrected code style issue. 2017-10-10 22:25:27 +01:00
Martin Entwistle
0b01efa2c3 Corrected code style issues. 2017-10-10 22:25:07 +01:00
Martin Entwistle
276f4dc94b Method rename. 2017-10-10 22:21:40 +01:00
Martin Entwistle
30104af6a0 Introduced a view mode and shared preference to determine which style of view to use. 2017-10-10 22:21:40 +01:00
Vishan Seru
6b96b65203 Synced branch to master 2017-10-10 19:51:29 +05:30
Vishan Seru
11f9511495 When location permission request is denied in NearbyActivity, instead of the NoPermissionsFragment, now an AlertDialog is shown providing options to either retry the permission request or cancel and quit the activity. 2017-09-05 20:53:55 +05:30
Paul Hawke
15107e622b Codacy suggestions for improvement. 2017-09-03 22:20:52 -05:00
Paul Hawke
13e84a82b8 Removed unused imports. 2017-09-03 17:05:37 -05:00
mebr1416
0c303298b2 Resolve for "Day mode by default #825" 2017-08-04 18:40:22 +03:00
Paul Hawke
02315c2ae7 Propagated the @NonNull annotation for place click listener and removed a test that made no sense. 2017-07-22 18:08:56 -05:00
Paul Hawke
4796557fb7 Made a pass through the code to introduce lambdas / method references in the places the Android Studio suggested. 2017-07-22 18:04:40 -05:00
Mikel
e9d77a0716 Use vector icons for nearby-map markers (#786) 2017-07-22 10:01:08 +09:00
Yusuke Matsubara
3b728ca568 Coding style fixes 2017-07-16 15:13:40 +09:00
Josephine Lim
0da51457d0 Merge pull request #771 from tised/#739_issue
fix for #739
2017-07-14 02:17:48 +10:00
Dmytro Vodnik
0ce99bc10e improvements for #657 issue 2017-07-13 16:26:07 +03:00
Dmytro Vodnik
719b30be85 fix for #739 2017-07-13 12:04:51 +03:00
Paul Hawke
9387d31cb6 Improvements based on codacy-bot feedback. 2017-07-09 17:52:50 -05:00
Paul Hawke
6ccc608a1e Converted nearby list to recycler view and fixed a few issues pointed out by static code analysis. 2017-07-09 17:33:24 -05:00
veyndan
3509b0a413 Remove redundant call to method 2017-06-30 20:19:25 +01:00
Yusuke Matsubara
b83c32f81e Merge pull request #742 from veyndan/place
Use an enum for the place description
2017-06-30 16:46:26 +09:00
veyndan
5d6bada4c8 Use an enum for the place description 2017-06-29 15:11:24 +01:00
Yusuke Matsubara
f8bb106b83 Merge pull request #745 from veyndan/string-sanitation
Simplify string sanitation logic
2017-06-28 09:15:10 +09:00
veyndan
8c3adbbb97 Simplify string sanitation logic 2017-06-19 17:02:16 +01:00
veyndan
dc01dfa014 Prevent instantiation of a class with a builder 2017-06-19 16:23:09 +01:00
misaochan
7d5469dcfa Add null check for nearbyAsyncTask 2017-06-03 12:40:27 +10:00
misaochan
8e059691f9 Tidy up code 2017-06-02 18:27:39 +10:00
misaochan
6091cc7465 Remove addToBackStack
We do not actually want users to go back to this fragment
2017-06-02 18:26:05 +10:00
misaochan
a8d302bdf3 Remove progress bar and add null check for locationManager 2017-06-02 18:17:23 +10:00
misaochan
c3d4b029c1 Fill out onCreateView in fragment 2017-06-02 18:17:10 +10:00
misaochan
c8a0142c3e Cancel AsyncTask and add backstack 2017-06-02 18:08:34 +10:00
misaochan
18bb59403b Add NoPermissionsFragment 2017-06-02 01:30:13 +10:00
misaochan
2e72b29fba Add TODO and fragment transaction 2017-06-02 01:25:17 +10:00
misaochan
9895093b8f Add @NonNull annotations 2017-06-01 22:15:17 +10:00
misaochan
e6e141e51d Fix whitespace 2017-05-31 19:53:23 +10:00
misaochan
cab0d24692 Add null check to onPause asynctask 2017-05-31 19:50:45 +10:00
misaochan
ec6ba8cf87 Remove hardcoded string 2017-05-31 19:49:19 +10:00
misaochan
93acd40926 Move code into startLookingForNearby() 2017-05-31 19:47:09 +10:00
misaochan
a704f5a740 Register locationManager if permission granted 2017-05-31 19:43:51 +10:00
misaochan
50ecf4fd15 Fix logical error 2017-05-31 19:38:08 +10:00
misaochan
361196bedd Add onRequestPermissionsResult() 2017-05-31 19:36:25 +10:00
misaochan
3bd1baaf8d Add constant for request code 2017-05-31 19:30:19 +10:00
misaochan
40a2e03b9c Add checkLocationPermission() call to onCreate() 2017-05-31 19:25:44 +10:00
misaochan
3ec93115e2 Add permission request for ACCESS_FINE_LOCATION 2017-05-31 19:25:04 +10:00
misaochan
e6383e20a6 Add checkLocationPermission() in NearbyActivity 2017-05-31 19:13:14 +10:00
misaochan
42c86576b3 Use string resource instead of hardcoded string 2017-05-30 20:08:00 +10:00
Tobias Schönberg
7b89731450 Fix variable spelling 2017-05-29 22:00:46 +02:00
Tobias Schönberg
2a7ef947ff Code style 2017-05-28 18:56:10 +02:00
Tobias Schönberg
0a86a31203 Code style fixes 2017-05-28 18:39:10 +02:00
Tobias Schönberg
4f4a875ebe Add a marker and circle of accuracy for current location
Currently the user's position is not visible on the map. This
commit adds a marker to the user's position and a circular
polygon which shows the accuracy of the location measurement.
2017-05-28 17:53:33 +02:00