public class BetView
A custom view that displays a single matchup and editable fields for bets.
Constructor and Description |
---|
BetView(BaseActivity context,
Match match,
Bet bet)
A custom view that displays a single matchup and editable fields for bets.
|
Modifier and Type | Method and Description |
---|---|
MinimalBet |
getMinimalBet()
Generates a MinimalBet object for use for placing bets
|
public BetView(BaseActivity context, Match match, Bet bet)
A custom view that displays a single matchup and editable fields for bets.
context
- : The context/activity for which to display this betmatch
- : The match data to display. A JSONObject fetched from the APIbet
- : The existing bet data. Can be null if not bet data exists yetcontext
- : The context/activity for which to display this betmatch
- : The match data to display. A JSONObject fetched from the APIbet
- : The existing bet data. Can be null if not bet data exists yetpublic MinimalBet getMinimalBet()
Generates a MinimalBet object for use for placing bets