title: How to call static method with data binding?
body: <p>I want to call my Util class method in <code>layout.xml</code> file like</p>
  
  <pre><code>&lt;TextView
           android:layout_width="wrap_content"
           android:layout_height="wrap_content"
           android:text="@{PreferenceUtil.getSavedUser().fullName}"/&gt;
  </code></pre>
  
  <p>I have imported <code>PreferenceUtil</code></p>
  
  <pre><code>&lt;import type="com.amelio.utils.PreferenceUtil"/&gt;
  </code></pre>
  
  <p>And <code>PreferenceUtil.class</code> has some methods.</p>
  
  <pre><code>public class PreferenceUtil {
  
      public static LoginResponse getSavedUser() {
          SharedPreferences sf = Amelio.getInstance().getSharedPreferences(PREF, Context.MODE_PRIVATE);
          String userJson = sf.getString(PREF_USER_DATA, null);
          if (userJson == null || userJson.equals("")) {
              return null;
          }
          return new Gson().fromJson(userJson, LoginResponse.class);
      }
  }
  </code></pre>
  
  <p><strong>Issue</strong></p>
  
  <pre><code>    Found data binding errors.
  ****/ data binding error ****msg:cannot find method getSavedUser() in class com.amelio.utils.PreferenceUtil
  file:D:\Khemraj\_AndroidStudioWorkspace_\amelioFinal\app\src\main\res\layout\activity_cart.xml
  loc:94:40 - 94:68
  ****\ data binding error ****
  </code></pre>
  
  <p><strong>Is this even possible, also suggest if this is recommended or not.</strong></p>