Skip to content

Commit

Permalink
config library;
Browse files Browse the repository at this point in the history
update readme
  • Loading branch information
westlinkin committed Sep 5, 2015
1 parent c828926 commit 2314b9c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CacheUtilsLibrary

A simple util library to write and read cache files in Android. This whole library is just a simple Java class, I used it in many other projects. I found it very useful, so here it is.
A simple util library to write and read cache files in Android. This whole library is just a simple [Java class](https://github.com/westlinkin/CacheUtilsLibrary/blob/master/library/src/main/java/com/lifeofcoding/cacheutlislibrary/CacheUtils.java), I used it in many other projects. I found it very useful, so here it is.

##Gradle

Expand Down
1 change: 1 addition & 0 deletions sample/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:name=".MyApplication"
android:theme="@style/AppTheme" >
<activity
android:name="com.lifeofcoding.cacheutilslibrary_sample.MainActivity"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package com.lifeofcoding.cacheutilslibrary_sample;

import android.app.Application;

import com.lifeofcoding.cacheutlislibrary.CacheUtils;

/**
* Created by Wesley Lin on 9/5/15.
*/
public class MyApplication extends Application {

@Override
public void onCreate() {
super.onCreate();
// configure CacheUtilsLibrary
CacheUtils.configureCache(this);
}
}

0 comments on commit 2314b9c

Please sign in to comment.