1
0
mirror of https://gitlab.com/neothefox/LayTray synced 2026-03-23 21:54:54 +03:00

Registered activity as a listener for shared preferences

This commit is contained in:
NeoTheFox 2018-07-06 11:25:33 +03:00
parent 03bb19a559
commit 582b8d3975

View File

@ -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);
} }