Back to project page notify.
The source code is released under:
GNU General Public License
If you think the Android project notify listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.example.notify; /*ww w .j a v a 2s . c om*/ import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; public class FragmentQrcodeWrong extends Fragment implements View.OnClickListener { public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { return inflater.inflate(R.layout.fragment_qrcode_wrong, container, false); } public void onStart() { super.onStart(); getActivity().findViewById(R.id.qrcode_retry).setOnClickListener(this); getActivity().findViewById(R.id.connect_menu_button).setOnClickListener(this); } public void onClick(View view) { switch (view.getId()) { case R.id.qrcode_retry: if (!OurUtils.scanQr()) { MainActivity.df.displayNoQrcodeScanner(); } break; case R.id.connect_menu_button: MainActivity.df.displayConnect(); break; } } }