Commit c127239c authored by 陈前's avatar 陈前

Merge remote-tracking branch 'origin/master'

parents 2ec6d67c 3f8eae3c
...@@ -27,7 +27,7 @@ public class AddFragment extends BaseFragment<MsPresenter, FragmentMsAddBinding> ...@@ -27,7 +27,7 @@ public class AddFragment extends BaseFragment<MsPresenter, FragmentMsAddBinding>
mTypeAdapter = new TypeAdapter(); mTypeAdapter = new TypeAdapter();
mViewBinding.rlType.setAdapter(mTypeAdapter); mViewBinding.rlType.setAdapter(mTypeAdapter);
mViewBinding.rlType.setLayoutManager(new GridLayoutManager(mContext, 2)); mViewBinding.rlType.setLayoutManager(new GridLayoutManager(mContext, 2));
mViewBinding.rlType.addItemDecoration(new MyMenuItemDecoration(mContext, 2, getResources().getColor(R.color.gray_kongming))); mViewBinding.rlType.addItemDecoration(new MyMenuItemDecoration(mContext, 2, getResources().getColor(R.color.golden_yuji)));
// set t listener // set t listener
mTypeAdapter.setOnItemClickListener((adapter, view, position) -> { mTypeAdapter.setOnItemClickListener((adapter, view, position) -> {
......
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