// Path: ExpenseTracker/app/src/main/java/com/pedrocarrillo/expensetracker/ui/Login/WelcomePage.java
// public class WelcomePage extends Fragment {
// 
//     final static String LAYOUT_ID = "layoutid";
// 
//     public static WelcomePage newInstance(int layoutId) {
//         WelcomePage pane = new WelcomePage();
//         Bundle args = new Bundle();
//         args.putInt(LAYOUT_ID, layoutId);
//         pane.setArguments(args);
//         return pane;
//     }
// 
//     @Override
//     public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
//         return inflater.inflate(getArguments().getInt(LAYOUT_ID, -1), container, false);
//     }
// 
// }


import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentStatePagerAdapter;
import com.pedrocarrillo.expensetracker.R;
import com.pedrocarrillo.expensetracker.ui.login.WelcomePage;
package com.pedrocarrillo.expensetracker.adapters;



/**
 * Created by Pedro on 15/9/2015.
 */
public class WelcomePagerAdapter extends FragmentStatePagerAdapter {

    private static final int NUM_PAGES = 3;

    public WelcomePagerAdapter(FragmentManager fm) {
        super(fm);
    }

    @Override
    public Fragment getItem(int position) {
// Path: ExpenseTracker/app/src/main/java/com/pedrocarrillo/expensetracker/ui/Login/WelcomePage.java
// public class WelcomePage extends Fragment {
// 
//     final static String LAYOUT_ID = "layoutid";
// 
//     public static WelcomePage newInstance(int layoutId) {
//         WelcomePage pane = new WelcomePage();
//         Bundle args = new Bundle();
//         args.putInt(LAYOUT_ID, layoutId);
//         pane.setArguments(args);
//         return pane;
//     }
// 
//     @Override
//     public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
//         return inflater.inflate(getArguments().getInt(LAYOUT_ID, -1), container, false);
//     }
// 
// }


// Path: ExpenseTracker/app/src/main/java/com/pedrocarrillo/expensetracker/adapters/WelcomePagerAdapter.java
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentStatePagerAdapter;
import com.pedrocarrillo.expensetracker.R;
import com.pedrocarrillo.expensetracker.ui.login.WelcomePage;

package com.pedrocarrillo.expensetracker.adapters;



/**
 * Created by Pedro on 15/9/2015.
 */
public class WelcomePagerAdapter extends FragmentStatePagerAdapter {

    private static final int NUM_PAGES = 3;

    public WelcomePagerAdapter(FragmentManager fm) {
        super(fm);
    }

    @Override
    public Fragment getItem(int position) {
        WelcomePage tp = null;