Search in sources :

Example 6 with Bundler

use of de.symeda.sormas.app.util.Bundler in project SORMAS-Project by hzi-braunschweig.

the class BaseEditActivity method onSaveInstanceState.

@Override
public void onSaveInstanceState(@NonNull Bundle outState) {
    super.onSaveInstanceState(outState);
    new Bundler(outState).setRootUuid(rootUuid);
}
Also used : Bundler(de.symeda.sormas.app.util.Bundler)

Example 7 with Bundler

use of de.symeda.sormas.app.util.Bundler in project SORMAS-Project by hzi-braunschweig.

the class PagedBaseListFragment method onSaveInstanceState.

@Override
public void onSaveInstanceState(@NonNull Bundle outState) {
    super.onSaveInstanceState(outState);
    new Bundler(outState).setListFilter(listFilter);
}
Also used : Bundler(de.symeda.sormas.app.util.Bundler)

Example 8 with Bundler

use of de.symeda.sormas.app.util.Bundler in project SORMAS-Project by hzi-braunschweig.

the class BaseReadActivity method onSaveInstanceState.

@Override
public void onSaveInstanceState(@NonNull Bundle outState) {
    super.onSaveInstanceState(outState);
    new Bundler(outState).setRootUuid(rootUuid);
}
Also used : Bundler(de.symeda.sormas.app.util.Bundler)

Example 9 with Bundler

use of de.symeda.sormas.app.util.Bundler in project SORMAS-Project by hzi-braunschweig.

the class SampleNewActivity method onSaveInstanceState.

@Override
public void onSaveInstanceState(@NonNull Bundle outState) {
    super.onSaveInstanceState(outState);
    new Bundler(outState).setCaseUuid(caseUuid);
}
Also used : Bundler(de.symeda.sormas.app.util.Bundler)

Example 10 with Bundler

use of de.symeda.sormas.app.util.Bundler in project SORMAS-Project by hzi-braunschweig.

the class CaseNewActivity method onCreateInner.

@Override
protected void onCreateInner(Bundle savedInstanceState) {
    super.onCreateInner(savedInstanceState);
    Bundler bundler = new Bundler(savedInstanceState);
    contactUuid = bundler.getContactUuid();
    eventParticipantUuid = bundler.getEventParticipantUuid();
    emptyReportDate = bundler.getEmptyReportDate();
    lineListingDiseases = DatabaseHelper.getFeatureConfigurationDao().getDiseasesWithLineListing();
}
Also used : Bundler(de.symeda.sormas.app.util.Bundler)

Aggregations

Bundler (de.symeda.sormas.app.util.Bundler)36 FacilityType (de.symeda.sormas.api.infrastructure.facility.FacilityType)2 Case (de.symeda.sormas.app.backend.caze.Case)2 Intent (android.content.Intent)1 Drawable (android.graphics.drawable.Drawable)1 GONE (android.view.View.GONE)1 VISIBLE (android.view.View.VISIBLE)1 Toolbar (androidx.appcompat.widget.Toolbar)1 CountryHelper (de.symeda.sormas.api.CountryHelper)1 Disease (de.symeda.sormas.api.Disease)1 CaseOrigin (de.symeda.sormas.api.caze.CaseOrigin)1 DengueFeverType (de.symeda.sormas.api.caze.DengueFeverType)1 PlagueType (de.symeda.sormas.api.caze.PlagueType)1 RabiesType (de.symeda.sormas.api.caze.RabiesType)1 CustomizableEnumType (de.symeda.sormas.api.customizableenum.CustomizableEnumType)1 DiseaseVariant (de.symeda.sormas.api.disease.DiseaseVariant)1 TypeOfPlace (de.symeda.sormas.api.event.TypeOfPlace)1 FacilityTypeGroup (de.symeda.sormas.api.infrastructure.facility.FacilityTypeGroup)1 PresentCondition (de.symeda.sormas.api.person.PresentCondition)1 Sex (de.symeda.sormas.api.person.Sex)1