6.6.1 - Alpha2 - 恢复日志活动窗口单个条目文本内容的双击或长按选择功能
This commit is contained in:
@@ -389,10 +389,8 @@ public class ConsoleView extends FrameLayout implements ConsoleImpl.LogListener
|
||||
|
||||
@Override
|
||||
public void onBindViewHolder(ViewHolder holder, int position) {
|
||||
ConsoleImpl.LogEntry logEntry = mLogEntries.get(position);
|
||||
|
||||
TextView textView = holder.textView;
|
||||
|
||||
ConsoleImpl.LogEntry logEntry = mLogEntries.get(position);
|
||||
textView.setText(logEntry.content);
|
||||
Integer color = mColors.get(logEntry.level);
|
||||
if (color != null) {
|
||||
@@ -403,9 +401,6 @@ public class ConsoleView extends FrameLayout implements ConsoleImpl.LogListener
|
||||
} else {
|
||||
textSize = DisplayUtils.pxToSp(textView.getTextSize());
|
||||
}
|
||||
textView.setClickable(false);
|
||||
textView.setLongClickable(false);
|
||||
textView.setTextIsSelectable(false);
|
||||
}
|
||||
|
||||
public void setTextSize(float size) {
|
||||
|
||||
Reference in New Issue
Block a user