Moodl/app/src/main/java/com/nauk/coinfolio/FingerprintToolkit/FingerprintDialogFragment.java

36 lines
924 B
Java
Raw Normal View History

2018-03-01 18:57:19 +00:00
package com.nauk.coinfolio.FingerprintToolkit;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.DialogFragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.nauk.coinfolio.R;
/**
* Created by Guitoune on 28/02/2018.
*/
public class FingerprintDialogFragment extends DialogFragment{
public static FingerprintDialogFragment newInstance(int title)
{
FingerprintDialogFragment frag = new FingerprintDialogFragment();
Bundle args = new Bundle();
args.putInt("title", title);
frag.setArguments(args);
return frag;
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
{
View view = inflater.inflate(R.layout.fragment_fingerprint_scanner, container);
return view;
}
}