Commit graph

3684 commits

Author SHA1 Message Date
misaochan
5a0a8c6019 Clean up DirectNearbyUpload constructor 2018-03-02 23:59:22 +05:30
misaochan
82e9ffbdb8 Replace title/desc in NearbyMapFragment to fix NPE 2018-03-02 23:59:22 +05:30
misaochan
9b63a8f87d Move storeSharedPrefs to fragment that is already injected 2018-03-02 23:59:22 +05:30
misaochan
9fb82da313 Remove unnecessary getters in ShareActivity 2018-03-02 23:59:07 +05:30
misaochan
59cc07922d Retrieve title/desc via Dagger injection in SingleUploadFragment 2018-03-02 23:59:07 +05:30
misaochan
31fcb212c2 Use Dagger injection to store title and desc 2018-03-02 23:59:07 +05:30
misaochan
351c3f2534 Give CommonsApplicationComponent access to DirectUpload 2018-03-02 23:59:07 +05:30
misaochan
84e8693525 Create new method in CommonsApplicationModule for providing title/desc for Nearby Uploads 2018-03-02 23:58:34 +05:30
misaochan
9a1a004a25 Move SharedPreferences injection into NearbyMapFragment 2018-03-02 23:57:52 +05:30
misaochan
89d0f8da8f Add NearbyMapFragment to FragmentBuilderModule 2018-03-02 23:57:52 +05:30
misaochan
1287287f31 Fix comments for List onClickListeners 2018-03-02 23:57:52 +05:30
misaochan
65752be7b1 Clarify comment 2018-03-02 23:57:52 +05:30
misaochan
241c0de1fb Tidy up NearbyMapFragment.java 2018-03-02 23:57:52 +05:30
misaochan
4e2a3f5f22 Tidy up DirectUpload.java 2018-03-02 23:57:52 +05:30
misaochan
d675722c0f Remove TODO 2018-03-02 23:57:52 +05:30
misaochan
056ed3c4dd Modify onPermissionsResult to suit current requirements 2018-03-02 23:57:52 +05:30
misaochan
27a1e0add4 Copy onRequestPermissionsResult into NearbyMapFragment 2018-03-02 23:57:52 +05:30
misaochan
47130ec828 Add TODO to PlaceRenderer for List buttons 2018-03-02 23:57:32 +05:30
misaochan
970df6e751 Send sharedprefs to handleImagePicked() camera case 2018-03-02 23:57:32 +05:30
misaochan
d7a0c5e98a Remove defaultPrefs check - no real use? 2018-03-02 23:57:32 +05:30
misaochan
0cfe805280 Modify logs 2018-03-02 23:57:32 +05:30
misaochan
bbe58f003f Make controller method public and add call to initiateCameraUpload() in NearbyMapFragment 2018-03-02 23:57:32 +05:30
misaochan
050d878edd Copy camera capture code to DirectUpload.java 2018-03-02 23:57:32 +05:30
misaochan
002fb1f9be Fix more whitespace 2018-03-02 23:57:32 +05:30
misaochan
9fe238f20c Fix whitespace 2018-03-02 23:54:04 +05:30
misaochan
f8343592f3 Add comments 2018-03-02 23:54:04 +05:30
misaochan
2e59a8e0b6 Add check in SingleUploadFragment for isNearbyUploadf 2018-03-02 23:54:04 +05:30
misaochan
0a6ed18c83 Pass nearby Title and Desc to SingleUploadFragment 2018-03-02 23:53:26 +05:30
misaochan
73327192f9 Tidy up and create framework for autofilling EditText 2018-03-02 23:53:07 +05:30
misaochan
fba7628f3c Change to getSharedPreferences to pass prefs between activities 2018-03-02 23:53:07 +05:30
misaochan
13a73fdcac Create boolean for isDirectUpload and pass shared prefs to ShareActivity.java 2018-03-02 23:53:07 +05:30
misaochan
1061537438 Add TODO 2018-03-02 23:52:32 +05:30
misaochan
4e971eb708 Image handling now works 2018-03-02 23:52:32 +05:30
misaochan
da7916069f Implement onActivityResult() in map fragment 2018-03-02 23:52:32 +05:30
misaochan
fe430699b4 Fix build error 2018-03-02 23:52:32 +05:30
misaochan
0662dd5015 Use stored fragment for requesting permissions 2018-03-02 23:52:32 +05:30
misaochan
38b04f4417 Save fragment as instance variable 2018-03-02 23:52:32 +05:30
misaochan
aae490a469 Switch to uploading from gallery 2018-03-02 23:52:32 +05:30
misaochan
66d895f9b8 Complete initiateDirectUpload() 2018-03-02 23:52:32 +05:30
misaochan
1a7ea256cc Create ContributionController object 2018-03-02 23:52:32 +05:30
misaochan
8fe03f1e4e Create initiateUpload() method 2018-03-02 23:52:32 +05:30
misaochan
a78b1f1054 Move direct uploading code to DirectUpload class 2018-03-02 23:52:32 +05:30
misaochan
7d80acf462 Add TODO for List 2018-03-02 23:52:32 +05:30
misaochan
1873b843da Retrieve shared preferences for image name and desc 2018-03-02 23:52:32 +05:30
misaochan
6605eb070c Insert image name and desc into shared preference 2018-03-02 23:52:32 +05:30
Paul Hawke
4b83037299 Map marker selection and footer visibility now track together. 2018-03-02 23:52:32 +05:30
misaochan
353be8cd67 Rename Description to Label to prevent misunderstandings 2018-03-02 23:52:32 +05:30
misaochan
27ac8ae0d7 Replace anonymous inner classes with lambdas 2018-03-02 23:49:58 +05:30
misaochan
cb554889b1 Edit TODO 2018-03-02 23:49:58 +05:30
misaochan
e219a7b2d4 Put logs in onClick() 2018-03-02 23:49:05 +05:30