Android: EditTextPreference
<p>Sorry for maybe a stupid question.</p>

<p>I have EditTextPreference... How to check is his text empty or not ?</p>

<pre><code>public void onSharedPreferenceChanged(SharedPreferences sharedPreference,
        String key) {
    String editorText= (editTextPreference.getText()).trim();
    if (editorText== "") {
        editorText.setText("Something");
    }
}
</code></pre>

<p>That's not work....</p>
