public class LinkliveUIUtil
extends java.lang.Object
构造器和说明 |
---|
LinkliveUIUtil() |
限定符和类型 | 方法和说明 |
---|---|
static androidx.fragment.app.Fragment |
createListFragment(android.app.Activity activity)
创建加载直播列表的fragment
|
static androidx.fragment.app.Fragment |
createRepayFragment(android.app.Activity activity)
创建加载直播列表的fragment
|
static void |
launchFavorAct(android.app.Activity activity) |
static void |
openH5AnchorLevelPage(android.content.Context context,
java.lang.String uid)
Open the anchor-level page
|
static void |
openH5UserLevelPage(android.content.Context context,
java.lang.String uid)
Open the user-level page
|
static void |
openLeaderBoardPage(android.content.Context context)
Open the leaderboard page
|
static void |
openPersonalPage(android.content.Context context)
Open the personal page
|
static void |
setMatchTextColor(android.widget.TextView textView)
set common text color for match
|
static void |
showGenderSelectDialog(androidx.fragment.app.Fragment fragment)
Display gender selection box
|
static void |
startWatchLive(android.content.Context context,
java.lang.String vid)
to watch live page
观看直播页面
|
static void |
updateShopCartCount(int count)
设置购物车数量
|
public static void openLeaderBoardPage(android.content.Context context)
public static void openPersonalPage(android.content.Context context)
public static void showGenderSelectDialog(androidx.fragment.app.Fragment fragment)
public static void openH5UserLevelPage(android.content.Context context, java.lang.String uid)
public static void openH5AnchorLevelPage(android.content.Context context, java.lang.String uid)
public static void launchFavorAct(android.app.Activity activity)
public static void setMatchTextColor(android.widget.TextView textView)
public static androidx.fragment.app.Fragment createListFragment(android.app.Activity activity)
activity
- public static androidx.fragment.app.Fragment createRepayFragment(android.app.Activity activity)
activity
- public static void updateShopCartCount(int count)
count
- public static void startWatchLive(android.content.Context context, java.lang.String vid)
context
- vid
- video id