package com.example.androidwork.foodsharing.Activities.Fragments.Lockers;


import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;


public class LockersFragmentPagerAdapter extends FragmentPagerAdapter {
    public static final int LOCKER_PAGE_AMOUNT = 3;
    public LockersFragmentPagerAdapter(FragmentManager fm) {
        super(fm);
    }

    @Override
    public Fragment getItem(int position) {
        return LockersFragment.getFragmentWithLockerAndPageNumber(position);
    }



    @Override
    public int getCount() {
        return LOCKER_PAGE_AMOUNT;
    }
}
