public class TempUtils
extends java.lang.Object
构造器和说明 |
---|
TempUtils() |
限定符和类型 | 方法和说明 |
---|---|
static java.lang.CharSequence |
changeTextColor(java.lang.String text,
int color,
int startIndex,
int size)
改变部分文本颜色
|
static void |
configJoinContent(com.live.immsgmodel.JoinChatroomMsgContent msg,
android.widget.TextView enterTextView,
int textsizeSP,
int maxNameDP) |
static android.widget.Toast |
createTopToast(java.lang.String content) |
static java.lang.String |
formatCount(long count) |
static java.lang.String |
formatSecondsToHHMMSS(int seconds) |
static int |
getChatMessageListHeight() |
static java.lang.String |
getCountText(int cc) |
static ClickTargetInfo |
getTargetUid(io.rong.imlib.model.MessageContent msg) |
static boolean |
isViewOut(android.view.View view)
判断view是否在屏幕外
|
public static java.lang.String getCountText(int cc)
public static java.lang.String formatCount(long count)
public static android.widget.Toast createTopToast(java.lang.String content)
public static boolean isViewOut(android.view.View view)
public static java.lang.String formatSecondsToHHMMSS(int seconds)
public static ClickTargetInfo getTargetUid(io.rong.imlib.model.MessageContent msg)
public static void configJoinContent(com.live.immsgmodel.JoinChatroomMsgContent msg, android.widget.TextView enterTextView, int textsizeSP, int maxNameDP)
public static int getChatMessageListHeight()
public static java.lang.CharSequence changeTextColor(java.lang.String text, int color, int startIndex, int size)