Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

Commit

Permalink
Add: Removed caching from version checking
Browse files Browse the repository at this point in the history
  • Loading branch information
Tavisco committed Aug 25, 2018
1 parent 18b49e4 commit bdc5fdc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ private void checkForAppUpdates() {
}, error -> Log.d(Constants.TAG, error.getLocalizedMessage()));

// Add the request to the RequestQueue.
stringRequest.setShouldCache(false);
queue.add(stringRequest);
}
}
Expand Down Expand Up @@ -240,6 +241,7 @@ public void populateRecycler() {
}, error -> Log.d(Constants.TAG, error.getLocalizedMessage()));

// Add the request to the RequestQueue.
stringRequest.setShouldCache(false);
queue.add(stringRequest);
}
}
Expand Down Expand Up @@ -269,6 +271,7 @@ public void checkForGameUpdates(){
}, error -> Log.d(Constants.TAG, error.getLocalizedMessage()));

// Add the request to the RequestQueue.
stringRequest.setShouldCache(false);
queue.add(stringRequest);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,10 @@
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ProgressBar;
import android.widget.TextView;

import com.android.volley.Request;
import com.android.volley.RequestQueue;
import com.android.volley.Response;
import com.android.volley.VolleyError;
import com.android.volley.toolbox.StringRequest;
import com.android.volley.toolbox.Volley;
import com.mikepenz.fastadapter.FastAdapter;
Expand All @@ -24,9 +20,9 @@
import butterknife.BindView;
import butterknife.ButterKnife;
import io.github.tavisco.rvglassistant.R;
import io.github.tavisco.rvglassistant.objects.IOPackageItem;
import io.github.tavisco.rvglassistant.objects.enums.UpdateStatus;
import io.github.tavisco.rvglassistant.others.Constants;
import io.github.tavisco.rvglassistant.objects.IOPackageItem;

/**
* Created by Tavisco on 25/05/18.
Expand Down Expand Up @@ -126,6 +122,7 @@ public void bindView(final IOPackageViewItem viewItem, final List<Object> payloa
}, error -> Log.d(Constants.TAG, error.getLocalizedMessage()));

// Add the request to the RequestQueue.
stringRequest.setShouldCache(false);
queue.add(stringRequest);
}
}
Expand Down

0 comments on commit bdc5fdc

Please sign in to comment.