@@ -0,0 +1,1174 @@
+%0D%0Apackage li.itcc.hackathon2014;%0D%0A%0D%0Aimport android.app.Activity;%0D%0Aimport android.app.Fragment;%0D%0Aimport android.os.Bundle;%0D%0Aimport android.widget.Button;%0D%0A%0D%0Apublic abstract class AbstractTourFragment extends Fragment %7B%0D%0A    /**%0D%0A     * The fragment argument representing the section number for this fragment.%0D%0A     */%0D%0A    private static final String ARG_TOUR_NUMBER = %22tour_number%22;%0D%0A    private static final String ARG_TOUR_PAGE = %22tour_page%22;%0D%0A    %0D%0A    public void setTourArguments(int tourNumber, int tourPage) %7B%0D%0A        Bundle args = new Bundle();%0D%0A        args.putInt(ARG_TOUR_NUMBER, tourNumber);%0D%0A        args.putInt(ARG_TOUR_PAGE, tourPage);%0D%0A        this.setArguments(args);%0D%0A    %7D%0D%0A%0D%0A    public AbstractTourFragment() %7B%0D%0A    %7D%0D%0A%0D%0A    @Override%0D%0A    public void onAttach(Activity activity) %7B%0D%0A        super.onAttach(activity);%0D%0A        Bundle args = getArguments();%0D%0A        int tourNumber = args.getInt(ARG_TOUR_NUMBER);%0D%0A        int tourPage = args.getInt(ARG_TOUR_PAGE);%0D%0A        ((MainActivity) activity).onFragmentAttached(this, tourNumber, tourPage);%0D%0A    %7D%0D%0A    %0D%0A    %0D%0A    public void setNextButton(Button nextButton) %7B%0D%0A        %0D%0A    %7D%0D%0A    %0D%0A    %0D%0A%0D%0A%7D%0D%0A

Add abstract tour