Skip to content

Commit e4374f8

Browse files
committed
Updated RoboGuice example for 2.0
1 parent 2465468 commit e4374f8

9 files changed

Lines changed: 14 additions & 23 deletions

File tree

examples/RoboGuiceExample/AndroidManifest.xml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@
55
android:versionName="1.0" >
66

77
<uses-sdk
8-
android:maxSdkVersion="17"
9-
android:minSdkVersion="3"
10-
android:targetSdkVersion="17" />
8+
android:minSdkVersion="4"
9+
android:targetSdkVersion="20" />
1110

1211
<application
13-
android:name=".AstroApplication"
1412
android:icon="@drawable/icon"
15-
android:label="@string/app_name" >
13+
android:label="@string/app_name"
14+
android:allowBackup="true" >
1615
<activity
1716
android:name=".AstroGirl_"
1817
android:label="@string/app_name" >
-430 KB
Binary file not shown.
476 KB
Binary file not shown.
2.44 KB
Binary file not shown.
-103 KB
Binary file not shown.
125 KB
Binary file not shown.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
4+
<string-array name="roboguice_modules">
5+
<item>org.androidannotations.roboguiceexample.AstroModule</item>
6+
</string-array>
7+
8+
</resources>

examples/RoboGuiceExample/src/org/androidannotations/roboguiceexample/AstroApplication.java

Lines changed: 0 additions & 16 deletions
This file was deleted.

examples/RoboGuiceExample/src/org/androidannotations/roboguiceexample/AstroModule.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package org.androidannotations.roboguiceexample;
22

3-
import roboguice.config.AbstractAndroidModule;
3+
import com.google.inject.AbstractModule;
44

5-
public class AstroModule extends AbstractAndroidModule {
5+
public class AstroModule extends AbstractModule {
66
@Override
77
protected void configure() {
88
bind(GreetingService.class).to(GreetingServiceToastImpl.class);

0 commit comments

Comments
 (0)