package com.firebase.ui.database;

import android.support.annotation.IntDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

public interface SubscriptionEventListener {
    @Retention(RetentionPolicy.SOURCE)
    @IntDef({EventType.ADDED, EventType.REMOVED})
    @interface EventType {
        int ADDED = 0, REMOVED = 1;
    }

    void onSubscriptionAdded();

    void onSubscriptionRemoved();
}

@@ -69,16 +69,56 @@
 .IntDef;
+%0Aimport android.support.annotation.Keep;
 %0A%0Aimport
@@ -241,16 +241,26 @@
 tener %7B%0A
+    @Keep%0A
     @Ret

Fix proguard saying SubscriptionEventListener.EventType doesn't exist