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