rey5137/material

Use inAnimation for SimpleDialog Crashes App

Opened this issue · 0 comments

I want to have a FastOutSlowInInterpolator Interpolator for my SimpleDialog

My Code:

[CODE]final com.rey.material.app.SimpleDialog sD = new com.rey.material.app.SimpleDialog(getActivity());
sD.title("Hi");
sD.message("Tap on 'Close' to close this Dialog");
sD.cancelable(false);
sD.positiveAction("Close");

sD.positiveActionClickListener(new View.OnClickListener(){
@Override 
public void onClick(View v){
sD.dismiss();}});

sD.show();[/CODE]

Why my app crashes?