public class

TimerConfirmationFragment

extends BottomSheetDialogFragment
java.lang.Object
   ↳ BottomSheetDialogFragment
     ↳ com.mapsted.ui.map.TimerConfirmationFragment

Summary

Nested Classes
interface TimerConfirmationFragment.Listener  
Fields
public static final String TAG
Public Constructors
TimerConfirmationFragment()
Public Methods
static TimerConfirmationFragment newInstance(String message, String positiveButtonText, String negativeButtonText)
void onCreate(Bundle savedInstanceState)
View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
void onDestroyView()
void onViewCreated(View view, Bundle savedInstanceState)
void setListener(TimerConfirmationFragment.Listener listener)
void setTimeout(long timeoutMs)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final String TAG

Public Constructors

public TimerConfirmationFragment ()

Public Methods

public static TimerConfirmationFragment newInstance (String message, String positiveButtonText, String negativeButtonText)

public void onCreate (Bundle savedInstanceState)

public View onCreateView (LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)

public void onDestroyView ()

public void onViewCreated (View view, Bundle savedInstanceState)

public void setListener (TimerConfirmationFragment.Listener listener)

public void setTimeout (long timeoutMs)

Parameters
timeoutMs the positive button will be clicked on this timeout. If not set, the dialog is set to default timeout of 5000ms.