Skip navigation links
A B C E F G H I L M N O P Q S T U 

A

addFilter(key, value) - Method in class net.namibsun.hktipp.models.Query
Adds a filter to the parameter map
apiConnection - Variable in class net.namibsun.hktipp.activities.AuthorizedActivity
The API connection to use for API calls
ApiConnection - Class in net.namibsun.hktipp.api
Class that allows interaction with the hk-tippspiel API
ApiConnection(serverUrl, apiKey, user, expiration) - Constructor for class net.namibsun.hktipp.api.ApiConnection
Class that allows interaction with the hk-tippspiel API
ApiConnection.Companion - Class in net.namibsun.hktipp.api
Contains static methods of the class
ApiKey - Class in net.namibsun.hktipp.models
Model class that models an API key
ApiKey(id, userId, user, creationTime) - Constructor for class net.namibsun.hktipp.models.ApiKey
Model class that models an API key
ApiKey.Companion - Class in net.namibsun.hktipp.models
Companion object that implements static methods to generate the model using a JSONObject.
AuthorizedActivity - Class in net.namibsun.hktipp.activities
Activity class that should be used by activities that require an authorized API connection
AuthorizedActivity() - Constructor for class net.namibsun.hktipp.activities.AuthorizedActivity
Activity class that should be used by activities that require an authorized API connection

B

BaseActivity - Class in net.namibsun.hktipp.activities
Base class that implements some common methods
BaseActivity() - Constructor for class net.namibsun.hktipp.activities.BaseActivity
Base class that implements some common methods
Bet - Class in net.namibsun.hktipp.models
Model class that models a Bet
Bet(id, userId, user, matchId, match, homeScore, awayScore, points) - Constructor for class net.namibsun.hktipp.models.Bet
Model class that models a Bet
Bet.Companion - Class in net.namibsun.hktipp.models
Companion object that implements static methods to generate the model using a JSONObject.
BetActivity - Class in net.namibsun.hktipp.activities
This activity allows a user to place bets, as well as view already placed bets
BetActivity() - Constructor for class net.namibsun.hktipp.activities.BetActivity
This activity allows a user to place bets, as well as view already placed bets
BetQuery - Class in net.namibsun.hktipp.models
Extends the Query class to generate Bet model objects.
BetQuery(apiConnection) - Constructor for class net.namibsun.hktipp.models.BetQuery
Extends the Query class to generate Bet model objects.
BetView - Class in net.namibsun.hktipp.views
A custom view that displays a single matchup and editable fields for bets.
BetView(context, match, bet) - Constructor for class net.namibsun.hktipp.views.BetView
A custom view that displays a single matchup and editable fields for bets.

C

Companion - Static variable in class net.namibsun.hktipp.api.ApiConnection
Contains static methods of the class
Companion - Static variable in class net.namibsun.hktipp.models.ApiKey
Companion object that implements static methods to generate the model using a JSONObject.
Companion - Static variable in class net.namibsun.hktipp.models.Bet
Companion object that implements static methods to generate the model using a JSONObject.
Companion - Static variable in class net.namibsun.hktipp.models.EmailReminder
Companion object that implements static methods to generate the model using a JSONObject.
Companion - Static variable in class net.namibsun.hktipp.models.Goal
Companion object that implements static methods to generate the model using a JSONObject.
Companion - Static variable in class net.namibsun.hktipp.models.Match
Companion object that implements static methods to generate the model using a JSONObject.
Companion - Static variable in class net.namibsun.hktipp.models.Player
Companion object that implements static methods to generate the model using a JSONObject.
Companion - Static variable in class net.namibsun.hktipp.models.Team
Companion object that implements static methods to generate the model using a JSONObject.
Companion - Static variable in class net.namibsun.hktipp.models.User
Companion object that implements static methods to generate the model using a JSONObject.
component1() - Method in class net.namibsun.hktipp.models.ApiKey
:
component1() - Method in class net.namibsun.hktipp.models.Bet
:
component1() - Method in class net.namibsun.hktipp.models.EmailReminder
:
component1() - Method in class net.namibsun.hktipp.models.Goal
:
component1() - Method in class net.namibsun.hktipp.models.Match
:
component1() - Method in class net.namibsun.hktipp.models.MinimalBet
:
component1() - Method in class net.namibsun.hktipp.models.Player
:
component1() - Method in class net.namibsun.hktipp.models.Team
:
component1() - Method in class net.namibsun.hktipp.models.User
:
component10() - Method in class net.namibsun.hktipp.models.Goal
:
component10() - Method in class net.namibsun.hktipp.models.Match
:
component11() - Method in class net.namibsun.hktipp.models.Goal
:
component11() - Method in class net.namibsun.hktipp.models.Match
:
component12() - Method in class net.namibsun.hktipp.models.Match
:
component13() - Method in class net.namibsun.hktipp.models.Match
:
component14() - Method in class net.namibsun.hktipp.models.Match
:
component15() - Method in class net.namibsun.hktipp.models.Match
:
component2() - Method in class net.namibsun.hktipp.models.ApiKey
:
component2() - Method in class net.namibsun.hktipp.models.Bet
:
component2() - Method in class net.namibsun.hktipp.models.EmailReminder
:
component2() - Method in class net.namibsun.hktipp.models.Goal
:
component2() - Method in class net.namibsun.hktipp.models.Match
:
component2() - Method in class net.namibsun.hktipp.models.MinimalBet
:
component2() - Method in class net.namibsun.hktipp.models.Player
:
component2() - Method in class net.namibsun.hktipp.models.Team
:
component2() - Method in class net.namibsun.hktipp.models.User
:
component3() - Method in class net.namibsun.hktipp.models.ApiKey
:
component3() - Method in class net.namibsun.hktipp.models.Bet
:
component3() - Method in class net.namibsun.hktipp.models.EmailReminder
:
component3() - Method in class net.namibsun.hktipp.models.Goal
:
component3() - Method in class net.namibsun.hktipp.models.Match
:
component3() - Method in class net.namibsun.hktipp.models.MinimalBet
:
component3() - Method in class net.namibsun.hktipp.models.Player
:
component3() - Method in class net.namibsun.hktipp.models.Team
:
component3() - Method in class net.namibsun.hktipp.models.User
:
component4() - Method in class net.namibsun.hktipp.models.ApiKey
:
component4() - Method in class net.namibsun.hktipp.models.Bet
:
component4() - Method in class net.namibsun.hktipp.models.EmailReminder
:
component4() - Method in class net.namibsun.hktipp.models.Goal
:
component4() - Method in class net.namibsun.hktipp.models.Match
:
component4() - Method in class net.namibsun.hktipp.models.Player
:
component4() - Method in class net.namibsun.hktipp.models.Team
:
component4() - Method in class net.namibsun.hktipp.models.User
:
component5() - Method in class net.namibsun.hktipp.models.Bet
:
component5() - Method in class net.namibsun.hktipp.models.EmailReminder
:
component5() - Method in class net.namibsun.hktipp.models.Goal
:
component5() - Method in class net.namibsun.hktipp.models.Match
:
component5() - Method in class net.namibsun.hktipp.models.Team
:
component6() - Method in class net.namibsun.hktipp.models.Bet
:
component6() - Method in class net.namibsun.hktipp.models.Goal
:
component6() - Method in class net.namibsun.hktipp.models.Match
:
component6() - Method in class net.namibsun.hktipp.models.Team
:
component7() - Method in class net.namibsun.hktipp.models.Bet
:
component7() - Method in class net.namibsun.hktipp.models.Goal
:
component7() - Method in class net.namibsun.hktipp.models.Match
:
component8() - Method in class net.namibsun.hktipp.models.Bet
:
component8() - Method in class net.namibsun.hktipp.models.Goal
:
component8() - Method in class net.namibsun.hktipp.models.Match
:
component9() - Method in class net.namibsun.hktipp.models.Goal
:
component9() - Method in class net.namibsun.hktipp.models.Match
:
copy(id, userId, user, creationTime) - Method in class net.namibsun.hktipp.models.ApiKey
Model class that models an API key
copy(id, userId, user, matchId, match, homeScore, awayScore, points) - Method in class net.namibsun.hktipp.models.Bet
Model class that models a Bet
copy(id, userId, user, reminderTime, lastReminder) - Method in class net.namibsun.hktipp.models.EmailReminder
Model class that models an email reminder
copy(id, playerId, player, matchId, match, minute, minuteEt, homeScore, awayScore, ownGoal, penalty) - Method in class net.namibsun.hktipp.models.Goal
Model class that models a Goal
copy(id, homeTeamId, homeTeam, awayTeamId, awayTeam, matchday, homeCurrentScore, awayCurrentScore, homeHtScore, awayHtScore, homeFtScore, awayFtScore, kickoff, started, finished) - Method in class net.namibsun.hktipp.models.Match
Model class that models a Match
copy(matchId, homeScore, awayScore) - Method in class net.namibsun.hktipp.models.MinimalBet
Class that contains the minimal details for a bet
copy(id, name, teamId, team) - Method in class net.namibsun.hktipp.models.Player
Model class that models a Player
copy(id, name, shortName, abbreviation, iconSvg, iconPng) - Method in class net.namibsun.hktipp.models.Team
Model class that models a Team
copy(id, username, email, confirmed) - Method in class net.namibsun.hktipp.models.User
Model class that models a User

E

EmailReminder - Class in net.namibsun.hktipp.models
Model class that models an email reminder
EmailReminder(id, userId, user, reminderTime, lastReminder) - Constructor for class net.namibsun.hktipp.models.EmailReminder
Model class that models an email reminder
EmailReminder.Companion - Class in net.namibsun.hktipp.models
Companion object that implements static methods to generate the model using a JSONObject.
equals(p) - Method in class net.namibsun.hktipp.models.ApiKey
 
equals(p) - Method in class net.namibsun.hktipp.models.Bet
 
equals(p) - Method in class net.namibsun.hktipp.models.EmailReminder
 
equals(p) - Method in class net.namibsun.hktipp.models.Goal
 
equals(p) - Method in class net.namibsun.hktipp.models.Match
 
equals(p) - Method in class net.namibsun.hktipp.models.MinimalBet
 
equals(p) - Method in class net.namibsun.hktipp.models.Player
 
equals(p) - Method in class net.namibsun.hktipp.models.Team
 
equals(p) - Method in class net.namibsun.hktipp.models.User
 

F

fromJson(data) - Method in class net.namibsun.hktipp.models.ApiKey.Companion
Generates the model using a JSONObject
fromJson(data) - Method in class net.namibsun.hktipp.models.Bet.Companion
Generates the model using a JSONObject
fromJson(data) - Method in class net.namibsun.hktipp.models.EmailReminder.Companion
Generates the model using a JSONObject
fromJson(data) - Method in class net.namibsun.hktipp.models.Goal.Companion
Generates the model using a JSONObject
fromJson(data) - Method in class net.namibsun.hktipp.models.Match.Companion
Generates the model using a JSONObject
fromJson(data) - Method in interface net.namibsun.hktipp.models.ModelGenerator
This method must be implemented by child classes. It generates a new Model object from a JSONObject object.
fromJson(data) - Method in class net.namibsun.hktipp.models.Player.Companion
Generates the model using a JSONObject
fromJson(data) - Method in class net.namibsun.hktipp.models.Team.Companion
Generates the model using a JSONObject
fromJson(data) - Method in class net.namibsun.hktipp.models.User.Companion
Generates the model using a JSONObject

G

get(endpoint, params) - Method in class net.namibsun.hktipp.api.ApiConnection
Performs an authenticated GET request to the API
getAbbreviation() - Method in class net.namibsun.hktipp.models.Team
:
getApiConnection() - Method in class net.namibsun.hktipp.activities.AuthorizedActivity
The API connection to use for API calls
getAwayCurrentScore() - Method in class net.namibsun.hktipp.models.Match
:
getAwayFtScore() - Method in class net.namibsun.hktipp.models.Match
:
getAwayHtScore() - Method in class net.namibsun.hktipp.models.Match
:
getAwayScore() - Method in class net.namibsun.hktipp.models.Bet
:
getAwayScore() - Method in class net.namibsun.hktipp.models.Goal
:
getAwayScore() - Method in class net.namibsun.hktipp.models.MinimalBet
:
getAwayTeam() - Method in class net.namibsun.hktipp.models.Match
:
getAwayTeamId() - Method in class net.namibsun.hktipp.models.Match
:
getConfirmed() - Method in class net.namibsun.hktipp.models.User
:
getCreationTime() - Method in class net.namibsun.hktipp.models.ApiKey
:
getEmail() - Method in class net.namibsun.hktipp.models.User
:
getExpiration() - Method in class net.namibsun.hktipp.api.ApiConnection
:
getFinished() - Method in class net.namibsun.hktipp.models.Match
:
getHomeCurrentScore() - Method in class net.namibsun.hktipp.models.Match
:
getHomeFtScore() - Method in class net.namibsun.hktipp.models.Match
:
getHomeHtScore() - Method in class net.namibsun.hktipp.models.Match
:
getHomeScore() - Method in class net.namibsun.hktipp.models.Bet
:
getHomeScore() - Method in class net.namibsun.hktipp.models.Goal
:
getHomeScore() - Method in class net.namibsun.hktipp.models.MinimalBet
:
getHomeTeam() - Method in class net.namibsun.hktipp.models.Match
:
getHomeTeamId() - Method in class net.namibsun.hktipp.models.Match
:
getIconPng() - Method in class net.namibsun.hktipp.models.Team
:
getIconSvg() - Method in class net.namibsun.hktipp.models.Team
:
getId() - Method in class net.namibsun.hktipp.models.ApiKey
:
getId() - Method in class net.namibsun.hktipp.models.Bet
:
getId() - Method in class net.namibsun.hktipp.models.EmailReminder
:
getId() - Method in class net.namibsun.hktipp.models.Goal
:
getId() - Method in class net.namibsun.hktipp.models.Match
:
getId() - Method in class net.namibsun.hktipp.models.Player
:
getId() - Method in class net.namibsun.hktipp.models.Team
:
getId() - Method in class net.namibsun.hktipp.models.User
:
getKickoff() - Method in class net.namibsun.hktipp.models.Match
:
getLastReminder() - Method in class net.namibsun.hktipp.models.EmailReminder
:
getLogo(team) - Method in class net.namibsun.hktipp.singletons.Logos
Retrieves a logo Bitmap for a specified team
getMatch() - Method in class net.namibsun.hktipp.models.Bet
:
getMatch() - Method in class net.namibsun.hktipp.models.Goal
:
getMatchday() - Method in class net.namibsun.hktipp.models.Match
:
getMatchId() - Method in class net.namibsun.hktipp.models.Bet
:
getMatchId() - Method in class net.namibsun.hktipp.models.Goal
:
getMatchId() - Method in class net.namibsun.hktipp.models.MinimalBet
:
getMinimalBet() - Method in class net.namibsun.hktipp.views.BetView
Generates a MinimalBet object for use for placing bets
getMinute() - Method in class net.namibsun.hktipp.models.Goal
:
getMinuteEt() - Method in class net.namibsun.hktipp.models.Goal
:
getName() - Method in class net.namibsun.hktipp.models.Player
:
getName() - Method in class net.namibsun.hktipp.models.Team
:
getOwnGoal() - Method in class net.namibsun.hktipp.models.Goal
:
getPenalty() - Method in class net.namibsun.hktipp.models.Goal
:
getPlayer() - Method in class net.namibsun.hktipp.models.Goal
:
getPlayerId() - Method in class net.namibsun.hktipp.models.Goal
:
getPoints() - Method in class net.namibsun.hktipp.models.Bet
:
getReminderTime() - Method in class net.namibsun.hktipp.models.EmailReminder
:
getSharedPreferences() - Method in class net.namibsun.hktipp.activities.BaseActivity
The shared preferences used for storing stuff like API keys
getShortName() - Method in class net.namibsun.hktipp.models.Team
:
getStarted() - Method in class net.namibsun.hktipp.models.Match
:
getTeam() - Method in class net.namibsun.hktipp.models.Player
:
getTeamId() - Method in class net.namibsun.hktipp.models.Player
:
getUser() - Method in class net.namibsun.hktipp.api.ApiConnection
 
getUser() - Method in class net.namibsun.hktipp.models.ApiKey
:
getUser() - Method in class net.namibsun.hktipp.models.Bet
:
getUser() - Method in class net.namibsun.hktipp.models.EmailReminder
:
getUserId() - Method in class net.namibsun.hktipp.models.ApiKey
:
getUserId() - Method in class net.namibsun.hktipp.models.Bet
:
getUserId() - Method in class net.namibsun.hktipp.models.EmailReminder
:
getUsername() - Method in class net.namibsun.hktipp.models.User
:
Goal - Class in net.namibsun.hktipp.models
Model class that models a Goal
Goal(id, playerId, player, matchId, match, minute, minuteEt, homeScore, awayScore, ownGoal, penalty) - Constructor for class net.namibsun.hktipp.models.Goal
Model class that models a Goal
Goal.Companion - Class in net.namibsun.hktipp.models
Companion object that implements static methods to generate the model using a JSONObject.
GoalQuery - Class in net.namibsun.hktipp.models
Extends the Query class to generate Goal model objects.
GoalQuery(apiConnection) - Constructor for class net.namibsun.hktipp.models.GoalQuery
Extends the Query class to generate Goal model objects.

H

hashCode() - Method in class net.namibsun.hktipp.models.ApiKey
 
hashCode() - Method in class net.namibsun.hktipp.models.Bet
 
hashCode() - Method in class net.namibsun.hktipp.models.EmailReminder
 
hashCode() - Method in class net.namibsun.hktipp.models.Goal
 
hashCode() - Method in class net.namibsun.hktipp.models.Match
 
hashCode() - Method in class net.namibsun.hktipp.models.MinimalBet
 
hashCode() - Method in class net.namibsun.hktipp.models.Player
 
hashCode() - Method in class net.namibsun.hktipp.models.Team
 
hashCode() - Method in class net.namibsun.hktipp.models.User
 
HttpMethod - Enum in net.namibsun.hktipp.api
Class that defines different HTTP methods
HttpMethod() - Constructor for enum net.namibsun.hktipp.api.HttpMethod
Class that defines different HTTP methods

I

INSTANCE - Static variable in class net.namibsun.hktipp.singletons.Logos
Singleton that stores logo bitmaps so that they do not have to be re-downloaded every context switch
isAuthorized() - Method in class net.namibsun.hktipp.api.ApiConnection
Checks if the ApiConnection is authorized or not

L

LeaderboardActivity - Class in net.namibsun.hktipp.activities
Activity that displays the current leadeboard of the hk-tippspiel website
LeaderboardActivity() - Constructor for class net.namibsun.hktipp.activities.LeaderboardActivity
Activity that displays the current leadeboard of the hk-tippspiel website
LeaderboardEntryView - Class in net.namibsun.hktipp.views
A custom View that displays a user's name and points for use in the leaderboard.
LeaderboardEntryView(context, position, username, points) - Constructor for class net.namibsun.hktipp.views.LeaderboardEntryView
A custom View that displays a user's name and points for use in the leaderboard.
loadStored(context) - Method in class net.namibsun.hktipp.api.ApiConnection.Companion
Loads a previously stored API connection
login(username, password, serverUrl) - Method in class net.namibsun.hktipp.api.ApiConnection.Companion
Allows initializing an ApiConnection object using username and password
LoginActivity - Class in net.namibsun.hktipp.activities
The Login Screen that enables the user to log in to the bundesliga-tippspiel Service using an API key, which will be generated during the login process. Credentials can be stored locally on the device, though the API key is stored instead of a password
LoginActivity() - Constructor for class net.namibsun.hktipp.activities.LoginActivity
The Login Screen that enables the user to log in to the bundesliga-tippspiel Service using an API key, which will be generated during the login process. Credentials can be stored locally on the device, though the API key is stored instead of a password
Logos - Class in net.namibsun.hktipp.singletons
Singleton that stores logo bitmaps so that they do not have to be re-downloaded every context switch
logout() - Method in class net.namibsun.hktipp.activities.AuthorizedActivity
Logs out and returns to the Login Activity
logout(context) - Method in class net.namibsun.hktipp.api.ApiConnection
Logs out by deleting the API key

M

Match - Class in net.namibsun.hktipp.models
Model class that models a Match
Match(id, homeTeamId, homeTeam, awayTeamId, awayTeam, matchday, homeCurrentScore, awayCurrentScore, homeHtScore, awayHtScore, homeFtScore, awayFtScore, kickoff, started, finished) - Constructor for class net.namibsun.hktipp.models.Match
Model class that models a Match
Match.Companion - Class in net.namibsun.hktipp.models
Companion object that implements static methods to generate the model using a JSONObject.
MatchActivity - Class in net.namibsun.hktipp.activities
Activity that display information about a single match
MatchActivity() - Constructor for class net.namibsun.hktipp.activities.MatchActivity
Activity that display information about a single match
MatchBetView - Class in net.namibsun.hktipp.views
A custom View that displays a bet for a user on a match
MatchBetView(context, bet) - Constructor for class net.namibsun.hktipp.views.MatchBetView
A custom View that displays a bet for a user on a match
MatchGoalView - Class in net.namibsun.hktipp.views
A custom View that displays a goal for a match
MatchGoalView(context, goal) - Constructor for class net.namibsun.hktipp.views.MatchGoalView
A custom View that displays a goal for a match
MatchQuery - Class in net.namibsun.hktipp.models
Extends the Query class to generate Match model objects.
MatchQuery(apiConnection) - Constructor for class net.namibsun.hktipp.models.MatchQuery
Extends the Query class to generate Match model objects.
MinimalBet - Class in net.namibsun.hktipp.models
Class that contains the minimal details for a bet
MinimalBet(matchId, homeScore, awayScore) - Constructor for class net.namibsun.hktipp.models.MinimalBet
Class that contains the minimal details for a bet
Model - Interface in net.namibsun.hktipp.models
Interface that models common operations an API Model class should have
ModelGenerator - Interface in net.namibsun.hktipp.models
Interface that makes it possible to generate a Model object using JSON data This class should be inherited by the companion object of each Model class.

N

net.namibsun.hktipp.activities - package net.namibsun.hktipp.activities
 
net.namibsun.hktipp.api - package net.namibsun.hktipp.api
 
net.namibsun.hktipp.models - package net.namibsun.hktipp.models
 
net.namibsun.hktipp.singletons - package net.namibsun.hktipp.singletons
 
net.namibsun.hktipp.views - package net.namibsun.hktipp.views
 

O

onCreate(savedInstanceState) - Method in class net.namibsun.hktipp.activities.AuthorizedActivity
Initializes the Activity's apiConnection
onCreate(savedInstanceState) - Method in class net.namibsun.hktipp.activities.BaseActivity
Initializes the Shared preferences
onCreate(savedInstanceState) - Method in class net.namibsun.hktipp.activities.BetActivity
Initializes the Activity. Sets the OnClickListeners for the buttons and starts fetching bet and match data asynchronously. Sets the username and apiKey instance variables
onCreate(savedInstanceState) - Method in class net.namibsun.hktipp.activities.LeaderboardActivity
Initializes the Activity. Populates the leaderboard.
onCreate(savedInstanceState) - Method in class net.namibsun.hktipp.activities.LoginActivity
Initializes the Login Activity. Sets the OnClickListener of the login button and sets the input fields with stored data if available
onCreate(savedInstanceState) - Method in class net.namibsun.hktipp.activities.MatchActivity
Displays the match data

P

place(apiConnection, bets) - Method in class net.namibsun.hktipp.models.Bet.Companion
Places bets using the API
Player - Class in net.namibsun.hktipp.models
Model class that models a Player
Player(id, name, teamId, team) - Constructor for class net.namibsun.hktipp.models.Player
Model class that models a Player
Player.Companion - Class in net.namibsun.hktipp.models
Companion object that implements static methods to generate the model using a JSONObject.
PlayerQuery - Class in net.namibsun.hktipp.models
Extends the Query class to generate Player model objects.
PlayerQuery(apiConnection) - Constructor for class net.namibsun.hktipp.models.PlayerQuery
Extends the Query class to generate Player model objects.
put(endpoint, params) - Method in class net.namibsun.hktipp.api.ApiConnection
Performs an authenticated PUT request to the API

Q

query(apiConnection) - Method in class net.namibsun.hktipp.models.Bet.Companion
Generates a Query object with which the model may be queried
query() - Method in class net.namibsun.hktipp.models.BetQuery
Executes the query, then converts the model objects to the Bet model class
query(apiConnection) - Method in class net.namibsun.hktipp.models.Goal.Companion
Generates a Query object with which the model may be queried
query() - Method in class net.namibsun.hktipp.models.GoalQuery
Executes the query, then converts the model objects to the Goal model class
query(apiConnection) - Method in class net.namibsun.hktipp.models.Match.Companion
Generates a Query object with which the model may be queried
query() - Method in class net.namibsun.hktipp.models.MatchQuery
Executes the query, then converts the model objects to the Match model class
query(apiConnection) - Method in class net.namibsun.hktipp.models.Player.Companion
Generates a Query object with which the model may be queried
query() - Method in class net.namibsun.hktipp.models.PlayerQuery
Executes the query, then converts the model objects to the Match model class
Query - Class in net.namibsun.hktipp.models
Class that enables the querying of models using the API
Query(apiConnection, endpoint, generatorFunc, validFilterKeys) - Constructor for class net.namibsun.hktipp.models.Query
Class that enables the querying of models using the API
query() - Method in class net.namibsun.hktipp.models.Query
Executes the query
query(apiConnection) - Method in interface net.namibsun.hktipp.models.QueryAble
Generates a Query object with which the model may be queried
query(apiConnection) - Method in class net.namibsun.hktipp.models.Team.Companion
Generates a Query object with which the model may be queried
query() - Method in class net.namibsun.hktipp.models.TeamQuery
Executes the query, then converts the model objects to the Team model class
QueryAble - Interface in net.namibsun.hktipp.models
Interface to be implemented by all model classes that can be queried

S

setApiConnection(p) - Method in class net.namibsun.hktipp.activities.AuthorizedActivity
The API connection to use for API calls
setSharedPreferences(p) - Method in class net.namibsun.hktipp.activities.BaseActivity
The shared preferences used for storing stuff like API keys
sharedPreferences - Variable in class net.namibsun.hktipp.activities.BaseActivity
The shared preferences used for storing stuff like API keys
showErrorDialog(titleResource, bodyResource) - Method in class net.namibsun.hktipp.activities.BaseActivity
Shows an error dialog.
startActivity(target, finish, bundle) - Method in class net.namibsun.hktipp.activities.BaseActivity
Starts a new activity
startLoadingAnimation() - Method in class net.namibsun.hktipp.activities.BaseActivity
Starts the loading animation
startLoadingAnimation() - Method in class net.namibsun.hktipp.activities.BetActivity
Starts the loading animation
startLoadingAnimation() - Method in class net.namibsun.hktipp.activities.LeaderboardActivity
Starts the loading animation
startLoadingAnimation() - Method in class net.namibsun.hktipp.activities.LoginActivity
Starts the login animation
startLoadingAnimation() - Method in class net.namibsun.hktipp.activities.MatchActivity
Starts the loading animation
stopLoadingAnimation() - Method in class net.namibsun.hktipp.activities.BaseActivity
Stops the loading animation
stopLoadingAnimation() - Method in class net.namibsun.hktipp.activities.BetActivity
Stops the loading animation
stopLoadingAnimation() - Method in class net.namibsun.hktipp.activities.LeaderboardActivity
Stops the loading animation
stopLoadingAnimation() - Method in class net.namibsun.hktipp.activities.LoginActivity
Ends the login animation
stopLoadingAnimation() - Method in class net.namibsun.hktipp.activities.MatchActivity
Stops the loading animation
store(context) - Method in class net.namibsun.hktipp.api.ApiConnection
Stores the API Connection info in the shared preferences

T

Team - Class in net.namibsun.hktipp.models
Model class that models a Team
Team(id, name, shortName, abbreviation, iconSvg, iconPng) - Constructor for class net.namibsun.hktipp.models.Team
Model class that models a Team
Team.Companion - Class in net.namibsun.hktipp.models
Companion object that implements static methods to generate the model using a JSONObject.
TeamQuery - Class in net.namibsun.hktipp.models
Extends the Query class to generate Team model objects.
TeamQuery(apiConnection) - Constructor for class net.namibsun.hktipp.models.TeamQuery
Extends the Query class to generate Team model objects.
toJson() - Method in class net.namibsun.hktipp.models.ApiKey
Converts the model object into a JSON object
toJson() - Method in class net.namibsun.hktipp.models.Bet
Converts the model object into a JSON object
toJson() - Method in class net.namibsun.hktipp.models.EmailReminder
Converts the model object into a JSON object
toJson() - Method in class net.namibsun.hktipp.models.Goal
Converts the model object into a JSON object
toJson() - Method in class net.namibsun.hktipp.models.Match
Converts the model object into a JSON object
toJson() - Method in interface net.namibsun.hktipp.models.Model
Method that generates a JSON Object from the model data
toJson() - Method in class net.namibsun.hktipp.models.Player
Converts the model object into a JSON object
toJson() - Method in class net.namibsun.hktipp.models.Team
Converts the model object into a JSON object
toJson() - Method in class net.namibsun.hktipp.models.User
Converts the model object into a JSON object
toString() - Method in class net.namibsun.hktipp.models.ApiKey
 
toString() - Method in class net.namibsun.hktipp.models.Bet
 
toString() - Method in class net.namibsun.hktipp.models.EmailReminder
 
toString() - Method in class net.namibsun.hktipp.models.Goal
 
toString() - Method in class net.namibsun.hktipp.models.Match
 
toString() - Method in class net.namibsun.hktipp.models.MinimalBet
 
toString() - Method in class net.namibsun.hktipp.models.Player
 
toString() - Method in class net.namibsun.hktipp.models.Team
 
toString() - Method in class net.namibsun.hktipp.models.User
 

U

User - Class in net.namibsun.hktipp.models
Model class that models a User
User(id, username, email, confirmed) - Constructor for class net.namibsun.hktipp.models.User
Model class that models a User
User.Companion - Class in net.namibsun.hktipp.models
Companion object that implements static methods to generate the model using a JSONObject.
A B C E F G H I L M N O P Q S T U 
Skip navigation links