// Path: app/src/main/java/io/github/droidkaigi/confsched/widget/BindingHolder.java
// public class BindingHolder<T extends ViewDataBinding> extends RecyclerView.ViewHolder {
// 
//     public final T binding;
// 
//     public BindingHolder(@NonNull Context context, @NonNull ViewGroup parent, @LayoutRes int layoutResId) {
//         super(LayoutInflater.from(context).inflate(layoutResId, parent, false));
//         binding = DataBindingUtil.bind(itemView);
//     }
// 
// }


import android.content.Context;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.util.ArrayMap;
import android.util.Pair;
import android.view.View;
import org.parceler.Parcels;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import io.github.droidkaigi.confsched.databinding.ItemSessionBinding;
import io.github.droidkaigi.confsched.model.Session;
import io.github.droidkaigi.confsched.widget.BindingHolder;
package io.github.droidkaigi.confsched.fragment;





public class MyScheduleSessionsTabFragment extends SessionsTabFragment {

    @NonNull
    public static MyScheduleSessionsTabFragment newInstance(List<Session> sessions) {
        MyScheduleSessionsTabFragment fragment = new MyScheduleSessionsTabFragment();
        Bundle args = new Bundle();
        args.putParcelable(ARG_SESSIONS, Parcels.wrap(sessions));
        fragment.setArguments(args);
        return fragment;
    }

    @Override
    protected SessionsAdapter createAdapter() {
        return new MyScheduleAdapter(getContext());
    }

    private class MyScheduleAdapter extends SessionsAdapter {

        private Map<Long, Pair<Integer, Integer>> rangeMap = new ArrayMap<>();

        public MyScheduleAdapter(@NonNull Context context) {
            super(context);
        }

        @Override
// Path: app/src/main/java/io/github/droidkaigi/confsched/widget/BindingHolder.java
// public class BindingHolder<T extends ViewDataBinding> extends RecyclerView.ViewHolder {
// 
//     public final T binding;
// 
//     public BindingHolder(@NonNull Context context, @NonNull ViewGroup parent, @LayoutRes int layoutResId) {
//         super(LayoutInflater.from(context).inflate(layoutResId, parent, false));
//         binding = DataBindingUtil.bind(itemView);
//     }
// 
// }


// Path: app/src/main/java/io/github/droidkaigi/confsched/fragment/MyScheduleSessionsTabFragment.java
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.util.ArrayMap;
import android.util.Pair;
import android.view.View;
import org.parceler.Parcels;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import io.github.droidkaigi.confsched.databinding.ItemSessionBinding;
import io.github.droidkaigi.confsched.model.Session;
import io.github.droidkaigi.confsched.widget.BindingHolder;

package io.github.droidkaigi.confsched.fragment;





public class MyScheduleSessionsTabFragment extends SessionsTabFragment {

    @NonNull
    public static MyScheduleSessionsTabFragment newInstance(List<Session> sessions) {
        MyScheduleSessionsTabFragment fragment = new MyScheduleSessionsTabFragment();
        Bundle args = new Bundle();
        args.putParcelable(ARG_SESSIONS, Parcels.wrap(sessions));
        fragment.setArguments(args);
        return fragment;
    }

    @Override
    protected SessionsAdapter createAdapter() {
        return new MyScheduleAdapter(getContext());
    }

    private class MyScheduleAdapter extends SessionsAdapter {

        private Map<Long, Pair<Integer, Integer>> rangeMap = new ArrayMap<>();

        public MyScheduleAdapter(@NonNull Context context) {
            super(context);
        }

        @Override
        public void onBindViewHolder(BindingHolder<ItemSessionBinding> holder, int position) {