|
|
@@ -55,6 +55,12 @@ public class SecondCategoryMainFragment extends FragmentBase<SecondCategoryMainP
|
|
|
protected void onAfterActivityCreated(Bundle savedInstanceState) {
|
|
|
mainSeriesView = findViewById(R.id.series_image_text_view);
|
|
|
recyclerViewSecondCategoryMain = findViewById(R.id.recycler_view_second_category_main);
|
|
|
+ recyclerViewSecondCategoryMain.addItemDecoration(new RecyclerView.ItemDecoration() {
|
|
|
+ @Override
|
|
|
+ public void getItemOffsets(Rect outRect, View view, RecyclerView parent, RecyclerView.State state) {
|
|
|
+ outRect.bottom = ResourceUtil.dpToPx(7);
|
|
|
+ }
|
|
|
+ });
|
|
|
viewFilter = findViewById(R.id.second_category_main_filter);
|
|
|
spinnerOrder = findViewById(R.id.spinner_select_contents);
|
|
|
}
|
|
|
@@ -116,12 +122,6 @@ public class SecondCategoryMainFragment extends FragmentBase<SecondCategoryMainP
|
|
|
presenter.onEvent(event);
|
|
|
});
|
|
|
|
|
|
- recyclerViewSecondCategoryMain.addItemDecoration(new RecyclerView.ItemDecoration() {
|
|
|
- @Override
|
|
|
- public void getItemOffsets(Rect outRect, View view, RecyclerView parent, RecyclerView.State state) {
|
|
|
- outRect.bottom = ResourceUtil.dpToPx(7);
|
|
|
- }
|
|
|
- });
|
|
|
recyclerViewSecondCategoryMain.setLayoutManager(new LinearLayoutManager(getActivity(), LinearLayoutManager.VERTICAL, false));
|
|
|
recyclerViewSecondCategoryMain.setAdapter(secondCategoryMainAdapter);
|
|
|
|