Commit Graph

99 Commits

Author SHA1 Message Date
Xabier I. Losada
f2b2bb4ced Update butterknife to version 7.0.1
InjectView annotations replaced by Bind
ButterKnife.inject and ButterKnife.reset replaced by ButterKnife.bind and ButterKnife.unbind
2015-07-09 20:22:20 +02:00
Fernando Cejas
856c94f86e Merge pull request #31 from rynkowsg/master
- Fixed a RecyclerView error "No adapter attached; skipping layout".
- Added injection resetting at fragments.
2015-07-02 01:01:47 +02:00
Fernando Cejas
d45a2cf678 Modify presenters to use a new Subscriber instance.
Solves #22
2015-07-02 00:40:08 +02:00
Fernando Cejas
77e719a1b7 Get rid of unneeded type on data mappers. 2015-07-01 23:36:21 +02:00
Grzegorz Rynkowski
9a2ab826f0 Added injection resetting at fragments
http://jakewharton.github.io/butterknife/#reset
2015-06-26 21:16:42 +02:00
Grzegorz Rynkowski
0c3e56d098 Fixed a RecyclerView error "No adapter attached; skipping layout" 2015-06-26 21:16:42 +02:00
Fernando Cejas
5f13a74c67 Disable lint due to retrolambda bug when compiling lint tasks. 2015-06-21 12:58:51 +02:00
Fernando Cejas
c514e05600 Attach debug.keystore and setup build.gradle to use this configuration. 2015-06-21 01:05:57 +02:00
Fernando Cejas
c38fe26d13 Update class headers with Apache License in presentation layer. 2015-04-28 23:26:07 +02:00
Fernando Cejas
035b7446b2 Refactor to use RxJava and reactive approach end to end. 2015-04-21 00:24:31 +02:00
sebastienrouif
0076524f9a Fix for presentation layer tests 2015-04-17 00:52:03 +01:00
Fernando Cejas
5206ece4ea Remove unused inject methods. 2015-04-11 02:01:01 +02:00
Fernando Cejas
faa0d2a379 Fix mistyping. 2015-04-10 22:08:11 +02:00
Fernando Cejas
082aa66f2e Fix Dagger2 component names. 2015-04-09 20:32:10 +02:00
Fernando Cejas
8ed37ce3c4 Add documentation to dependency injection components and modules. 2015-03-23 23:18:34 +01:00
Fernando Cejas
ced2c35a10 Remove unused exposed dependency. 2015-03-23 23:17:58 +01:00
Fernando Cejas
6740a6b495 Move injection logic to activity. PerActivity scope used. 2015-03-15 19:14:40 +01:00
Fernando Cejas
9b857e2865 Remove unused inject method. 2015-03-15 19:12:59 +01:00
Fernando Cejas
a8aeb18f77 Extract dependency injection logic to new method. 2015-03-15 04:51:50 +01:00
Fernando Cejas
c4f0c32e34 Remove unused Context provide method. 2015-03-15 04:48:22 +01:00
Fernando Cejas
8622f96a5f Use aplication, activity and user scope for dependency injection. 2015-03-15 04:23:12 +01:00
Fernando Cejas
8e5878fbb8 Refactor dependency injection components. Create a user component. 2015-03-15 04:22:40 +01:00
Fernando Cejas
cf29c79182 Remove unused qualifier and scope. 2015-03-15 04:21:46 +01:00
Fernando Cejas
a6e5aba496 Return correct application context. 2015-03-12 01:31:41 +01:00
Fernando Cejas
7bfde4ffc3 Fix Application module removing wrong type. 2015-03-10 01:22:53 +01:00
Fernando Cejas
0d6fdff94e Add PerActivity scope. 2015-03-10 00:49:26 +01:00
Fernando Cejas
0e61557494 Add ForApplication qualifier. 2015-03-10 00:49:16 +01:00
Fernando Cejas
96962e6ab5 Refactor user module to include user related injections. 2015-03-06 22:48:13 +01:00
Fernando Cejas
20a74ca865 Let dagger manage domain objects instances. 2015-03-06 22:06:29 +01:00
Fernando Cejas
afe6dd1f81 Get rid of presentation layer singletons. Let dagger manage instances. 2015-03-04 23:17:11 +01:00
Fernando Cejas
867f9a4624 Remove singletons let dagger manage class instances. Minor refactor. Fix tests. 2015-03-03 01:00:15 +01:00
Fernando Cejas
b77fc5fa63 Add injectable constructor to user details presenter. 2015-03-02 23:59:32 +01:00
Fernando Cejas
65ec60703c Organize build logic. 2015-03-01 22:26:07 +01:00
Fernando Cejas
d80a9d78f6 First refactor to use dagger on presentation layer. 2015-03-01 20:50:53 +01:00
Fernando Cejas
a56455cf8c Minor refactor for injecting Base Activity dependencies. 2015-03-01 17:26:11 +01:00
Fernando Cejas
f46cc1d999 Remove unused initialization code from user list activity. 2015-03-01 16:36:53 +01:00
Fernando Cejas
7491a7cccd Add singleton scope to navigator. 2015-03-01 16:36:32 +01:00
Fernando Cejas
290b083a97 Add provide context and layout inflater to Application Module. 2015-02-26 23:01:29 +01:00
Fernando Cejas
5af7f59776 Remove unused ApplicationComponent getter. 2015-02-26 23:01:02 +01:00
Fernando Cejas
bffb799db9 Change dependency injection components scope. 2015-02-24 23:04:29 +01:00
Fernando Cejas
5eadda69a3 Move dependency injection components and modules inside internal.di package. 2015-02-24 23:03:54 +01:00
Fernando Cejas
a70a51d2d5 Move navigation logic to BaseActivity. 2015-02-24 22:46:18 +01:00
Fernando Cejas
86ea8ac6b7 Add Main Activity dependency injector component and module. 2015-02-24 22:23:15 +01:00
Fernando Cejas
fd3d78a316 Make navigator injectable. 2015-02-24 22:23:02 +01:00
Fernando Cejas
9234c4c1d2 Add application dependency injector component and module. 2015-02-24 22:22:36 +01:00
Fernando Cejas
18ef9e92b5 Add application component for dependency injection with dagger. 2015-02-19 22:46:09 +01:00
Fernando Cejas
f9fec1c4fa Added missing annotation dependency needed by dagger. 2015-02-19 22:45:31 +01:00
Fernando Cejas
c042d34a01 Rename presentation module to application module. 2015-02-19 22:45:05 +01:00
Fernando Cejas
5195587daf Add android application class and presentation module. 2015-02-18 23:46:58 +01:00
Fernando Cejas
93a9ff0ef0 Add Application class. 2015-02-18 00:45:34 +01:00