Commit 08dd6726 by wjg

重做UI

parent 2a06429a
...@@ -36,9 +36,6 @@ public class GoodsAdapter extends BaseSectionQuickAdapter<ScrollBean, BaseViewHo ...@@ -36,9 +36,6 @@ public class GoodsAdapter extends BaseSectionQuickAdapter<ScrollBean, BaseViewHo
@Override @Override
protected void convertHead(BaseViewHolder helper, ScrollBean item) { protected void convertHead(BaseViewHolder helper, ScrollBean item) {
helper.setText(R.id.txt_category, item.header); helper.setText(R.id.txt_category, item.header);
// TODO test
helper.setOnClickListener(R.id.txt_category, v -> Utils.showToast(mContext, item.header));
} }
@Override @Override
......
...@@ -185,7 +185,6 @@ public class Utils { ...@@ -185,7 +185,6 @@ public class Utils {
} }
public static void showToast(Context context, String text) { public static void showToast(Context context, String text) {
// TODO 自定义toast样式
View view = LayoutInflater.from(context).inflate(R.layout.view_toast, null); View view = LayoutInflater.from(context).inflate(R.layout.view_toast, null);
TextView textView = view.findViewById(R.id.txt_toast); TextView textView = view.findViewById(R.id.txt_toast);
textView.setText(text); textView.setText(text);
......
...@@ -72,7 +72,6 @@ class BrvahAsyncDifferConfig<T>( ...@@ -72,7 +72,6 @@ class BrvahAsyncDifferConfig<T>(
} }
companion object { companion object {
// TODO: remove the below once supportlib has its own appropriate executors
private val sExecutorLock = Any() private val sExecutorLock = Any()
private var sDiffExecutor: Executor? = null private var sDiffExecutor: Executor? = null
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment