Skip to content

Commit e33f0eb

Browse files
committed
Sample3 - rename IOCombineActivity to CombineIOSampleActivity.
1 parent 27c5e9b commit e33f0eb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
</activity>
5151

5252
<activity
53-
android:name=".IOCombineSampleActivity"
53+
android:name=".CombineIOSampleActivity"
5454
android:label="@string/sample_io_combine"
5555
android:screenOrientation="sensorPortrait">
5656
<intent-filter>

app/src/main/java/com/github/marwinxxii/rxsamples/IOCombineSampleActivity.java renamed to app/src/main/java/com/github/marwinxxii/rxsamples/CombineIOSampleActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import java.util.Random;
1919
import java.util.concurrent.TimeUnit;
2020

21-
public class IOCombineSampleActivity extends Activity {
21+
public class CombineIOSampleActivity extends Activity {
2222
private Subscription mSubscription;
2323

2424
@Override
@@ -50,7 +50,7 @@ public Observable<Integer> call(OnClickEvent onClickEvent) {
5050
public void call(Throwable throwable) {
5151
progress.setVisibility(View.GONE);
5252
calculateBtn.setEnabled(true);
53-
Toast.makeText(IOCombineSampleActivity.this, R.string.mix_error_message, Toast.LENGTH_SHORT).show();
53+
Toast.makeText(CombineIOSampleActivity.this, R.string.mix_error_message, Toast.LENGTH_SHORT).show();
5454
}
5555
})
5656
.onErrorResumeNext(Observable.<Integer>empty());//prevent observable from breaking

app/src/main/res/xml/samples.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</Preference>
1313
<Preference android:title="@string/sample_io_combine">
1414
<intent
15-
android:targetClass="com.github.marwinxxii.rxsamples.IOCombineSampleActivity"
15+
android:targetClass="com.github.marwinxxii.rxsamples.CombineIOSampleActivity"
1616
android:targetPackage="@string/app_id" />
1717
</Preference>
1818
</PreferenceScreen>

0 commit comments

Comments
 (0)