One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
class VideoDownloader extends AsyncTask<Void, Long, Boolean> { | |
@Override | |
protected void onPreExecute() { | |
super.onPreExecute(); | |
} | |
@Override | |
protected Boolean doInBackground(Void... params) { |
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; |
// ... | |
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 |
###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