use of com.eveningoutpost.dexdrip.databinding.ActivityDoubleCalibrationBinding in project xDrip-plus by jamorham.
the class DoubleCalibrationActivity method onCreate.
@Override
protected void onCreate(Bundle savedInstanceState) {
xdrip.checkForcedEnglish(this);
super.onCreate(savedInstanceState);
if (CollectionServiceStarter.isBTShare(getApplicationContext())) {
Intent intent = new Intent(this, Home.class);
startActivity(intent);
finish();
}
ActivityDoubleCalibrationBinding binding = ActivityDoubleCalibrationBinding.inflate(getLayoutInflater());
binding.setPrefs(new PrefsViewImpl());
setContentView(binding.getRoot());
addListenerOnButton();
}
use of com.eveningoutpost.dexdrip.databinding.ActivityDoubleCalibrationBinding in project xDrip by NightscoutFoundation.
the class DoubleCalibrationActivity method onCreate.
@Override
protected void onCreate(Bundle savedInstanceState) {
xdrip.checkForcedEnglish(this);
super.onCreate(savedInstanceState);
if (CollectionServiceStarter.isBTShare(getApplicationContext())) {
Intent intent = new Intent(this, Home.class);
startActivity(intent);
finish();
}
ActivityDoubleCalibrationBinding binding = ActivityDoubleCalibrationBinding.inflate(getLayoutInflater());
binding.setPrefs(new PrefsViewImpl());
setContentView(binding.getRoot());
addListenerOnButton();
}
Aggregations