title: Quickblox-2.4 with Proguard
body: <p>I am trying to integrate Proguard with Quickblox-2.4 jars. My logcat is showing this exception:</p>
  
  <pre><code>: FATAL EXCEPTION: main
  : java.lang.ClassCastException: com.d.a.b.v cannot be cast to com.quickblox.users.model.QBUserWrap
  :   at com.quickblox.users.model.QBUserPaged.getEntity(QBUserPaged.java:32)
  :   at com.quickblox.users.model.QBUserPaged.getEntity(QBUserPaged.java:13)
  :   at com.quickblox.core.parser.QBJsonParser.b(QBJsonParser.java:123)
  :   at com.quickblox.core.parser.QBJsonParser.parse(QBJsonParser.java:81)
  :   at com.quickblox.core.query.Query$VersionEntityCallback.completedWithResponse(Query.java:334)
  :   at com.quickblox.core.query.Query.completedWithResponse(Query.java:260)
  :   at com.quickblox.core.server.HttpRequestRunnable$1.handleMessage(HttpRequestRunnable.java:41)
  :   at android.os.Handler.dispatchMessage(Handler.java:99)
  :   at android.os.Looper.loop(Looper.java:137)
  :   at android.app.ActivityThread.main(ActivityThread.java:4960)
  :   at java.lang.reflect.Method.invokeNative(Native Method)
  :   at java.lang.reflect.Method.invoke(Method.java:511)
  :   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
  :   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
  :   at dalvik.system.NativeStart.main(Native Method)
  </code></pre>
  
  <p>This is my proguard config file content for Quickblox:</p>
  
  <pre><code>#QuickBlox
  -keep class org.jivesoftware.smack.** { public *; }
  -keep class org.jivesoftware.smackx.** { public *; }
  -keep class com.quickblox.** { public *; }
  -keep class * extends org.jivesoftware.smack { public *; }
  -keep class * implements org.jivesoftware.smack.debugger.SmackDebugger { public *; }
  </code></pre>
  
  <p>I think may be this code is giving error, but I'm not sure. Please help! Thanks in advance.</p>
  
  <pre><code>QBPagedRequestBuilder pagedRequestBuilder = new QBPagedRequestBuilder();
      pagedRequestBuilder.setPage(1);
      pagedRequestBuilder.setPerPage(1000);
      QBUsers.getUsers(pagedRequestBuilder,
              new QBEntityCallbackImpl&lt;ArrayList&lt;QBUser&gt;&gt;() {
                  @Override
                  public void onSuccess(ArrayList&lt;QBUser&gt; qbUsers,
                          Bundle bundle) {
  
                  }
  
                  @Override
                  public void onError(List&lt;String&gt; errors) {
                      // DialogUtils.showLong(ctx, errors.get(0));
                  }
              });
  </code></pre>