Android Open Source - Wizard Fragment3






From Project

Back to project page Wizard.

License

The source code is released under:

Apache License

If you think the Android project Wizard listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package me.panavtec.wizardsample;
/* w w  w. j  a  v  a2s  . co  m*/
import android.graphics.Color;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;

public class Fragment3 extends Fragment {

    private Button goNextButton;
    private Button goBackButton;

    @Override public View onCreateView(LayoutInflater inflater,
                                       @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment, container, false);
        view.setBackgroundColor(Color.BLACK);
        goNextButton = (Button) view.findViewById(R.id.goNextButton);
        goBackButton = (Button) view.findViewById(R.id.goBackButton);
        goNextButton.setVisibility(View.GONE);
        goBackButton.setOnClickListener(new View.OnClickListener() {
            @Override public void onClick(View v) {
                ((MainActivity) getActivity()).getWizard().navigatePrevious();
            }
        });
        return view;
    }


}




Java Source Code List

me.panavtec.gandalf.ApplicationTest.java
me.panavtec.wizard.WizardBuilder.java
me.panavtec.wizard.WizardListener.java
me.panavtec.wizard.WizardPageListener.java
me.panavtec.wizard.WizardPage.java
me.panavtec.wizard.Wizard.java
me.panavtec.wizardsample.Fragment1.java
me.panavtec.wizardsample.Fragment2.java
me.panavtec.wizardsample.Fragment3.java
me.panavtec.wizardsample.MainActivity.java
me.panavtec.wizardsample.WizardPage1.java
me.panavtec.wizardsample.WizardPage2.java
me.panavtec.wizardsample.WizardPage3.java