use of org.flyve.mdm.agent.adapter.FilesAdapter in project android-mdm-agent by flyve-mdm.
the class FragmentFileList method loadData.
private void loadData() {
pb.setVisibility(View.VISIBLE);
files = new FileData(FragmentFileList.this.getContext()).getAllFiles();
if (files.length > 0) {
FilesAdapter mAdapter = new FilesAdapter(FragmentFileList.this.getActivity(), files);
lst.setAdapter(mAdapter);
txtNoData.setVisibility(View.GONE);
} else {
txtNoData.setVisibility(View.VISIBLE);
}
pb.setVisibility(View.GONE);
}
Aggregations