mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-06-05 22:09:15 +02:00
add a Floating Action Button for creating files/directories
This commit is contained in:
@ -27,6 +27,7 @@ import java.util.List;
|
||||
|
||||
import butterknife.BindView;
|
||||
import butterknife.ButterKnife;
|
||||
import butterknife.OnClick;
|
||||
|
||||
public class ItemsFragment extends android.support.v4.app.Fragment
|
||||
implements AdapterView.OnItemClickListener, SwipeRefreshLayout.OnRefreshListener {
|
||||
@ -35,6 +36,7 @@ public class ItemsFragment extends android.support.v4.app.Fragment
|
||||
|
||||
private List<FileDirItem> mItems;
|
||||
private ItemInteractionListener mListener;
|
||||
|
||||
private boolean mShowHidden;
|
||||
|
||||
@Nullable
|
||||
@ -131,6 +133,11 @@ public class ItemsFragment extends android.support.v4.app.Fragment
|
||||
}
|
||||
}
|
||||
|
||||
@OnClick(R.id.items_fab)
|
||||
public void fabClicked(View view) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRefresh() {
|
||||
fillItems();
|
||||
|
Reference in New Issue
Block a user