Commit graph

42 commits

Author SHA1 Message Date
misaochan
bc1adca999 Add Dagger usage to FileProcessor 2018-05-26 00:03:48 +10:00
Vivek Maskara
9845a6265d Integrate API for displaying featured images (#1456)
* Integrate API for displaying featured images

* Add pagination and refactor code so that it can be reused for category images

* Add license info to the images

* Fix author view

* Remove unused values

* Fix minor issues with featured images

* Fix null license url issue

* Remove some log lines

* Fix back navigation issue

* fix tests

* fix test inits

* Gracefully handling various error situations

* Added java docs
2018-05-07 11:09:23 +03:00
Vivek Maskara
463673f942
Merge branch 'master' into featuredImages 2018-03-24 12:46:38 +05:30
Vivek Maskara
50d9cff8c6
Merge branch 'master' into directNearbyUploadsNew 2018-03-21 17:54:03 +05:30
misaochan
2099a99e4f Add Dagger injector to render() 2018-03-16 20:36:57 +10:00
Suchit Kar
369570537e Add delete task 2018-03-13 02:02:39 +05:30
maskara
123c4adbfd Minor changes to make things work 2018-03-03 00:30:44 +05:30
misaochan
3f7e22058a Fix whitespace 2018-03-03 00:02:20 +05:30
misaochan
119c4fb782 Manual injection into PlaceRenderer constructor to allow dependency injection 2018-03-03 00:01:11 +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
89d0f8da8f Add NearbyMapFragment to FragmentBuilderModule 2018-03-02 23:57:52 +05:30
Suchit Kar
4b0f1f6a09 Injected API, Session Manager 2018-03-01 20:14:02 +05:30
Manuel Lorenzo
304bf51f5f Fixing some lint issues for #171 2018-02-07 11:32:24 +01:00
maskara
9c23a8c34b Make login work across sessions 2018-02-06 01:52:53 +05:30
maskara
41d6abdf40 Remove unused code 2018-01-22 04:09:43 +05:30
maskara
28a6a3b71d Integrate notifications API 2018-01-22 03:46:54 +05:30
maskara
d78c7befbd Revert "Revert "Merge pull request #1024 from neslihanturan/displayNotificationsUI""
This reverts commit d253db5444.
2018-01-21 14:54:25 +05:30
misaochan
d253db5444 Revert "Merge pull request #1024 from neslihanturan/displayNotificationsUI"
This reverts commit 031e53c988, reversing
changes made to 0aa20effe0.

revert UI notifications
2018-01-16 18:52:25 +10:00
maskara
eb3e448452 Refactoring based on comments 2018-01-13 23:59:45 +05:30
maskara
e1afa6081e Refactor usage of dagger application with fixed dagger application 2018-01-13 16:16:47 +05:30
neslihanturan
1224302ccb
Merge pull request #1047 from psh/more-database-cleanup
More database related cleanup
2018-01-12 17:41:58 +03:00
neslihanturan
48c7a0372e Prepare base for new activity 2018-01-09 18:16:17 +03:00
Paul Hawke
874627e3f5 Injected the ModifierSequenceDao where needed. 2018-01-05 13:01:20 -06:00
Paul Hawke
9927879680 Injected the ContributionDao where needed. 2018-01-05 08:34:48 -06:00
Paul Hawke
1d3befcbd2 Injected the CategoryDao where needed. 2018-01-05 08:34:48 -06:00
neslihanturan
4ba9f6ba14 Contributes Android Injector annotation for dagger 2017-12-20 19:08:17 +03:00
Paul Hawke
02b5b9b680 Merge branch 'master' into dependency-injection 2017-11-24 22:30:08 -06:00
maskara
a61124a580 Fix: Location update in nearby activity 2017-11-22 01:11:02 +05:30
maskara
6a7b7cbbe8 Introduce dagger 2017-11-12 01:04:10 +05:30
Paul Hawke
9aa021695b @Injected shared preferences where needed 2017-09-27 21:30:41 -05:00
Paul Hawke
1b840502a9 Small code cleanup 2017-09-27 20:48:42 -05:00
Paul Hawke
2d91e81121 Merge branch 'master' into dependency-injection 2017-09-13 20:29:50 -05:00
Paul Hawke
a208c9f273 Further reduced coupling between classes and the need to @Inject the account utils class, fixed imports. 2017-09-10 10:37:58 -05:00
Paul Hawke
9c0cbe7ad5 Further reduce code calling back to the CommonsApplication by pulling out a SessionManager to manage our current account. 2017-09-09 14:08:40 -05:00
Paul Hawke
388f588301 Correctly configured injection for fragments and services. 2017-08-26 08:57:16 -05:00
Paul Hawke
cfe17cafa6 Moved other singletons over to being managed by Dagger 2017-08-26 08:57:15 -05:00
Paul Hawke
647cc166ef @Inject the MediaWikiApi where needed to reduce coupling between classes. 2017-08-26 08:56:15 -05:00
Paul Hawke
ed1ae98d8e Finished removing coupling between classes around the getInstance() method. 2017-08-26 08:56:15 -05:00
Paul Hawke
dbcbeed822 Android injection for support classes. 2017-08-26 08:56:15 -05:00
Paul Hawke
7880a08c30 Ensure that activities and content providers are integrated into DI. 2017-08-26 08:56:15 -05:00
Paul Hawke
8fe2816ca9 First baby steps into the world of dependency injection using Dagger. 2017-08-26 08:56:14 -05:00