Instantly share code, notes, and snippets.

Embed
What would you like to do?
package com.silcos.permainan.match;
import com.google.firebase.database.IgnoreExtraProperties;
@IgnoreExtraProperties
public class Challenge {
public String opener;
public String gameRef;
public Challenge() {
// required by Firebase database
}
public Challenge(String opener, String gameRef) {
this.gameRef = gameRef;
this.opener = opener;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment