|
@ -28,6 +28,7 @@ import android.support.design.widget.FloatingActionButton; |
|
|
import android.support.v7.widget.LinearLayoutManager; |
|
|
import android.support.v7.widget.LinearLayoutManager; |
|
|
import android.support.v7.widget.RecyclerView; |
|
|
import android.support.v7.widget.RecyclerView; |
|
|
import android.view.LayoutInflater; |
|
|
import android.view.LayoutInflater; |
|
|
|
|
|
import android.view.Menu; |
|
|
import android.view.View; |
|
|
import android.view.View; |
|
|
import android.view.ViewGroup; |
|
|
import android.view.ViewGroup; |
|
|
import android.widget.ProgressBar; |
|
|
import android.widget.ProgressBar; |
|
@ -47,6 +48,7 @@ public class FragmentFolders extends FragmentEx { |
|
|
@Nullable |
|
|
@Nullable |
|
|
public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { |
|
|
public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { |
|
|
setSubtitle(R.string.title_list_folders); |
|
|
setSubtitle(R.string.title_list_folders); |
|
|
|
|
|
setHasOptionsMenu(true); |
|
|
|
|
|
|
|
|
View view = inflater.inflate(R.layout.fragment_folders, container, false); |
|
|
View view = inflater.inflate(R.layout.fragment_folders, container, false); |
|
|
|
|
|
|
|
@ -92,4 +94,9 @@ public class FragmentFolders extends FragmentEx { |
|
|
|
|
|
|
|
|
return view; |
|
|
return view; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
public void onPrepareOptionsMenu(Menu menu) { |
|
|
|
|
|
menu.clear(); |
|
|
|
|
|
} |
|
|
} |
|
|
} |