###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
| // ... | |
| Request request = new Request.Builder() | |
| .url(url) | |
| .tag(TAG) | |
| .build(); | |
| // Cancel previous call(s) if they are running or queued | |
| OkHttpUtils.cancelCallWithTag(client, TAG); | |
| // New call |
| public class CustomAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>{ | |
| //our items | |
| List<Generic> items = new Arraylist<>(); | |
| //headers | |
| List<View> headers = new ArrayList<>(); | |
| //footers | |
| List<View> footers = new ArrayList<>(); | |
| public static final int TYPE_HEADER = 111; | |
| public static final int TYPE_FOOTER = 222; |
| class VideoDownloader extends AsyncTask<Void, Long, Boolean> { | |
| @Override | |
| protected void onPreExecute() { | |
| super.onPreExecute(); | |
| } | |
| @Override | |
| protected Boolean doInBackground(Void... params) { |