File tree Expand file tree Collapse file tree 8 files changed +30
-16
lines changed
src/main/java/com/donnfelker/android/bootstrap Expand file tree Collapse file tree 8 files changed +30
-16
lines changed Original file line number Diff line number Diff line change 17
17
18
18
<properties >
19
19
<abs .version>4.2.0</abs .version>
20
- <dagger .version>0.9 </dagger .version>
20
+ <dagger .version>1.0-SNAPSHOT </dagger .version>
21
21
</properties >
22
22
<dependencies >
23
23
<dependency >
32
32
<version >2.2.2</version >
33
33
</dependency >
34
34
<dependency >
35
- <groupId >com.squareup</groupId >
35
+ <groupId >com.squareup.dagger </groupId >
36
36
<artifactId >dagger</artifactId >
37
37
<version >${dagger.version} </version >
38
38
</dependency >
39
39
<dependency >
40
- <groupId >com.squareup</groupId >
40
+ <groupId >com.squareup.dagger </groupId >
41
41
<artifactId >dagger-compiler</artifactId >
42
42
<version >${dagger.version} </version >
43
43
<optional >true</optional >
44
44
</dependency >
45
45
<dependency >
46
46
<groupId >com.jakewharton</groupId >
47
47
<artifactId >butterknife</artifactId >
48
- <version >1.2.0 </version >
48
+ <version >1.2.2 </version >
49
49
</dependency >
50
50
<dependency >
51
51
<groupId >com.actionbarsherlock</groupId >
118
118
<artifactId >android-maven-plugin</artifactId >
119
119
<dependencies >
120
120
<dependency >
121
- <groupId >com.squareup</groupId >
121
+ <groupId >com.squareup.dagger </groupId >
122
122
<artifactId >dagger-compiler</artifactId >
123
123
<version >${dagger.version} </version >
124
124
</dependency >
Original file line number Diff line number Diff line change 16
16
*/
17
17
public class BootstrapServiceProvider {
18
18
19
- @ Inject private ApiKeyProvider keyProvider ;
20
- @ Inject private UserAgentProvider userAgentProvider ;
19
+ @ Inject ApiKeyProvider keyProvider ;
20
+ @ Inject UserAgentProvider userAgentProvider ;
21
21
22
22
/**
23
23
* Get service for configured key provider
Original file line number Diff line number Diff line change 20
20
*/
21
21
public class ApiKeyProvider {
22
22
23
- @ Inject private AccountManager accountManager ;
23
+ @ Inject AccountManager accountManager ;
24
24
25
25
/**
26
26
* This call blocks, so shouldn't be called on the UI thread
Original file line number Diff line number Diff line change @@ -88,9 +88,9 @@ public class BootstrapAuthenticatorActivity extends SherlockAccountAuthenticator
88
88
89
89
private AccountManager accountManager ;
90
90
91
- @ InjectView (id .et_email ) private AutoCompleteTextView emailText ;
92
- @ InjectView (id .et_password ) private EditText passwordText ;
93
- @ InjectView (id .b_signin ) private Button signinButton ;
91
+ @ InjectView (id .et_email ) AutoCompleteTextView emailText ;
92
+ @ InjectView (id .et_password ) EditText passwordText ;
93
+ @ InjectView (id .b_signin ) Button signinButton ;
94
94
95
95
private TextWatcher watcher = validationTextWatcher ();
96
96
Original file line number Diff line number Diff line change 25
25
public class TimerService extends Service {
26
26
27
27
@ Inject protected Bus BUS ;
28
- @ Inject private NotificationManager notificationManager ;
28
+ @ Inject NotificationManager notificationManager ;
29
29
30
30
private boolean timerRunning = false ;
31
31
private boolean timerStarted ;
Original file line number Diff line number Diff line change 23
23
*/
24
24
public class CarouselActivity extends BootstrapFragmentActivity {
25
25
26
- @ InjectView (id .tpi_header ) private TitlePageIndicator indicator ;
27
- @ InjectView (id .vp_pages ) private ViewPager pager ;
26
+ @ InjectView (id .tpi_header ) TitlePageIndicator indicator ;
27
+ @ InjectView (id .vp_pages ) ViewPager pager ;
28
28
29
29
@ Override
30
30
protected void onCreate (Bundle savedInstanceState ) {
Original file line number Diff line number Diff line change 24
24
25
25
public class UserListFragment extends ItemListFragment <User > {
26
26
27
- @ Inject private BootstrapServiceProvider serviceProvider ;
28
- @ Inject private AvatarLoader avatars ;
27
+ @ Inject BootstrapServiceProvider serviceProvider ;
28
+ @ Inject AvatarLoader avatars ;
29
29
@ Inject protected LogoutService logoutService ;
30
30
31
31
@ Override
Original file line number Diff line number Diff line change 69
69
</plugins >
70
70
</pluginManagement >
71
71
</build >
72
+
73
+ <repositories >
74
+ <repository >
75
+ <id >sonatype-nexus-snapshots</id >
76
+ <name >Sonatype Nexus Snapshots</name >
77
+ <url >https://oss.sonatype.org/content/repositories/snapshots</url >
78
+ <releases >
79
+ <enabled >false</enabled >
80
+ </releases >
81
+ <snapshots >
82
+ <enabled >true</enabled >
83
+ </snapshots >
84
+ </repository >
85
+ </repositories >
72
86
</project >
You can’t perform that action at this time.
0 commit comments