|
|
@@ -1,6 +1,7 @@
|
|
|
package kr.co.zumo.app.lifeplus.view.screen.my.bucketlist;
|
|
|
|
|
|
import android.content.Context;
|
|
|
+import android.graphics.Rect;
|
|
|
import android.os.Bundle;
|
|
|
import android.support.annotation.NonNull;
|
|
|
import android.support.annotation.Nullable;
|
|
|
@@ -183,6 +184,13 @@ public class AddMyBucketListFragment extends FragmentBase<AddMyBucketListPresent
|
|
|
addMyBucketListAdapter = new AddMyBucketListAdapter(getActivity(), myBucketListData, selectedIndex, index -> {
|
|
|
presenter.onEvent(new Event.Builder(Event.CLICK).index(index).build());
|
|
|
});
|
|
|
+ recyclerViewImageList.addItemDecoration(new RecyclerView.ItemDecoration() {
|
|
|
+ @Override
|
|
|
+ public void getItemOffsets(Rect outRect, View view, RecyclerView parent, RecyclerView.State state) {
|
|
|
+ outRect.right = ResourceUtil.dpToPx(6);
|
|
|
+ outRect.left = ResourceUtil.dpToPx(6);
|
|
|
+ }
|
|
|
+ });
|
|
|
recyclerViewImageList.setLayoutManager(new LinearLayoutManager(getContext(), LinearLayoutManager.HORIZONTAL, false));
|
|
|
recyclerViewImageList.setAdapter(addMyBucketListAdapter);
|
|
|
|