Super Noob Question: Getting a returned integer value from a Method
<p>This is a super noob question... I created a method that gets a sharedpreference and returns it. However, I don't know how to get and use the integer that is returned by the method.</p>

<p>here is the method:</p>

<pre><code>public int getX() {
     return mPrefs.getInt("x", 1);
}
</code></pre>

<p>How do I call this method in a way that allows me to get and use that integer value?</p>
