Skip to content

Instantly share code, notes, and snippets.

@ArthurHub
ArthurHub / AndroidManifest.xml
Last active January 20, 2022 11:14
Android Crop Camera Image
<?xml version="1.0" encoding="utf-8"?>
<manifest package="com.example.arthu.testandroidcropper"
xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
import java.util.*;
import rx.*;
import rx.subjects.*;
public class RxEventBus<T> {
private final Subject<Notification<T>, Notification<T>> subject;
public RxEventBus() {
subject = PublishSubject.<Notification<T>>create().toSerialized();