Class LeaderboardEntryTitle
- java.lang.Object
-
- com.cmput301w23t09.qrhunter.leaderboard.LeaderboardEntryTitle
-
- All Implemented Interfaces:
LeaderboardAdapterItem<LeaderboardEntryTitle>
public class LeaderboardEntryTitle extends java.lang.Object implements LeaderboardAdapterItem<LeaderboardEntryTitle>
Leaderboard entry describing a title view
-
-
Constructor Summary
Constructors Constructor Description LeaderboardEntryTitle(java.lang.String title)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getTitle()
Retrieve the title this entry representsandroid.view.View
getView(android.content.Context context, android.view.View convertView, android.view.ViewGroup parent, LeaderboardEntryTitle item)
Retrieves the view to render in the leaderboard
-
-
-
Method Detail
-
getTitle
public java.lang.String getTitle()
Retrieve the title this entry represents- Returns:
- the title
-
getView
public android.view.View getView(android.content.Context context, android.view.View convertView, android.view.ViewGroup parent, LeaderboardEntryTitle item)
Description copied from interface:LeaderboardAdapterItem
Retrieves the view to render in the leaderboard- Specified by:
getView
in interfaceLeaderboardAdapterItem<LeaderboardEntryTitle>
- Parameters:
context
- application contextconvertView
- viewparent
- parentitem
- leaderboard item- Returns:
- view to display
-
-