setContentView(v);
}
@Override
protected void onResume() {
super.onResume();
<BUG>new MaterialDialog.Builder(this)

.title("Choose a file")

.items(getTitles())
.itemsCallback(new MaterialDialog.ListCallback() {
@Override
public void onSelection(MaterialDialog dialog, View itemView, int position,
CharSequence text) {</BUG>
if (position > 1) {

setContentView(v);
}
@Override
protected void onResume() {
super.onResume();
new AlertDialog.Builder(this)
.setTitle("Choose a file")
.setItems(getTitles(), new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialogInterface, int position) {
if (position > 1) {
