use of ca.etsmtl.applets.etsmobile.ui.activity.MainActivity in project ETSMobile-Android2 by ApplETS.
the class ProfilFragment method onCreateView.
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
ViewGroup v = (ViewGroup) inflater.inflate(R.layout.fragment_profil, container, false);
super.onCreateView(inflater, v, savedInstanceState);
((MainActivity) getActivity()).setTitle(getFragmentTitle());
loadingView.showLoadingView();
dataManager.getDataFromSignet(SignetMethods.INFO_ETUDIANT, ApplicationManager.userCredentials, this, "");
dataManager.getDataFromSignet(SignetMethods.LIST_PROGRAM, ApplicationManager.userCredentials, this, "");
listViewProfile = (ListView) v.findViewById(R.id.listview_profile);
listViewProfile.setAdapter(profileAdapter);
profilManager = new ProfilManager(getActivity());
AnalyticsHelper.getInstance(getActivity()).sendScreenEvent(getClass().getSimpleName());
return v;
}
Aggregations