1
0
mirror of https://gitlab.com/neothefox/LayTray synced 2026-06-13 14:30:49 +03:00

Registered activity as a listener for shared preferences

This commit is contained in:
2018-07-06 11:25:33 +03:00
parent 03bb19a559
commit 582b8d3975
@@ -32,6 +32,7 @@ implements View.OnClickListener, SharedPreferences.OnSharedPreferenceChangeListe
Button saveButton = findViewById(R.id.saveButton); Button saveButton = findViewById(R.id.saveButton);
addButton.setOnClickListener(this); addButton.setOnClickListener(this);
saveButton.setOnClickListener(this); saveButton.setOnClickListener(this);
layouts.registerOnSharedPreferenceChangeListener(this);
} }