Search in sources :

Example 16 with Bundler

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

the class CampaignFormDataNewActivity method onCreateInner.

@Override
public void onCreateInner(@Nullable Bundle savedInstanceState) {
    super.onCreateInner(savedInstanceState);
    campaign = DatabaseHelper.getCampaignDao().queryUuid(new Bundler(savedInstanceState).getCampaignUuid());
    campaignFormMeta = DatabaseHelper.getCampaignFormMetaDao().queryUuid(new Bundler(savedInstanceState).getCampaignFormMetaUuid());
}
Also used : Bundler(de.symeda.sormas.app.util.Bundler)

Example 17 with Bundler

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

the class ContactNewActivity 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 18 with Bundler

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

the class EventNewActivity method onSaveInstanceState.

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

Example 19 with Bundler

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

the class EventNewActivity method onCreateInner.

@Override
protected void onCreateInner(Bundle savedInstanceState) {
    super.onCreateInner(savedInstanceState);
    Bundler bundler = new Bundler(savedInstanceState);
    caseUuid = bundler.getCaseUuid();
}
Also used : Bundler(de.symeda.sormas.app.util.Bundler)

Example 20 with Bundler

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

the class PathogenTestNewActivity method onSaveInstanceState.

@Override
public void onSaveInstanceState(@NonNull Bundle outState) {
    super.onSaveInstanceState(outState);
    new Bundler(outState).setCaseUuid(sampleUuid);
}
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