Back to project page octodroid.
The source code is released under:
MIT License
If you think the Android project octodroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.example.octodroid; /*from w w w. j a v a 2 s.c om*/ import android.app.Application; import com.rejasupotaro.octodroid.GitHub; import com.rejasupotaro.octodroid.http.CacheControl; public class MyApplication extends Application { @Override public void onCreate() { super.onCreate(); GitHub.client().cache(new CacheControl.Builder() .file(this) .build()); } }