public class GiftUtils
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static interface |
GiftUtils.OnGradeItemClickListener |
static interface |
GiftUtils.OnResetLayoutParams |
构造器和说明 |
---|
GiftUtils() |
限定符和类型 | 方法和说明 |
---|---|
static boolean |
canBatchSend(com.kxsimon.video.chat.gift_v2.bean.GiftV2 gift1) |
static int |
countOfPage() |
static android.util.Pair<android.widget.PopupWindow,int[]> |
createGradePopup(android.view.View anchor,
java.util.List<com.kxsimon.video.chat.gift_v2.bean.SendGrade> gradeList,
android.content.Context context,
com.kxsimon.video.chat.gift_v2.bean.SendGrade mSelectedGrade,
GiftUtils.OnGradeItemClickListener listener) |
static int |
getGiftCountPerPage() |
static int[] |
getGiftItemSize() |
static java.lang.String |
handleSpecialGiftTips(com.kxsimon.video.chat.gift_v2.bean.GiftV2 gift,
boolean isFans,
boolean isGuardian,
boolean isGuardianHeight,
long userlevel) |
static boolean |
isLandScreen() |
static void |
resetGiftContainerLayoutParams(android.content.res.Configuration newConfig,
android.view.View giftViewPagerContainer,
GiftUtils.OnResetLayoutParams callback) |
static void |
setGradeTextView(android.widget.TextView item,
boolean isSelect,
boolean isFirst,
boolean isLast) |
static void |
shakeGradeViewOnce(android.view.View view,
android.os.Handler handler,
int animId) |
static void |
shakeView(android.view.View view,
android.os.Handler handler) |
static GiftPreviewPopupWindow |
showDisplayPopup(android.view.View anchor,
java.lang.String preUrl,
java.lang.String giftId,
GiftPopupWindowManager manager) |
public static java.lang.String handleSpecialGiftTips(com.kxsimon.video.chat.gift_v2.bean.GiftV2 gift, boolean isFans, boolean isGuardian, boolean isGuardianHeight, long userlevel)
public static GiftPreviewPopupWindow showDisplayPopup(android.view.View anchor, java.lang.String preUrl, java.lang.String giftId, GiftPopupWindowManager manager)
public static android.util.Pair<android.widget.PopupWindow,int[]> createGradePopup(android.view.View anchor, java.util.List<com.kxsimon.video.chat.gift_v2.bean.SendGrade> gradeList, android.content.Context context, com.kxsimon.video.chat.gift_v2.bean.SendGrade mSelectedGrade, GiftUtils.OnGradeItemClickListener listener)
public static void setGradeTextView(android.widget.TextView item, boolean isSelect, boolean isFirst, boolean isLast)
public static void shakeView(android.view.View view, android.os.Handler handler)
public static void shakeGradeViewOnce(android.view.View view, android.os.Handler handler, int animId)
public static void resetGiftContainerLayoutParams(android.content.res.Configuration newConfig, android.view.View giftViewPagerContainer, GiftUtils.OnResetLayoutParams callback)
public static int getGiftCountPerPage()
public static final int[] getGiftItemSize()
public static boolean isLandScreen()
public static final int countOfPage()
public static boolean canBatchSend(com.kxsimon.video.chat.gift_v2.bean.GiftV2 gift1)