updated readme

This commit is contained in:
Tony Tam 2014-02-21 17:21:50 -08:00
parent 0899b08b8c
commit 86efb71124

View File

@ -14,14 +14,13 @@ You can use maven central to add this library to your current project:
<dependency> <dependency>
<groupId>com.wordnik</groupId> <groupId>com.wordnik</groupId>
<artifactId>wordnik-android-client</artifactId> <artifactId>wordnik-android-client</artifactId>
<version>4.0.0</version> <version>4.0</version>
</dependency> </dependency>
``` ```
or with gradle: or with gradle:
```gradle ```gradle
repositories { repositories {
mavenCentral() mavenCentral()
} }
@ -29,7 +28,6 @@ repositories {
dependencies { dependencies {
compile 'com.wordnik:wordnik-android-client:4.0' compile 'com.wordnik:wordnik-android-client:4.0'
} }
``` ```
or you can pull the source and re-generate the client library with Maven: or you can pull the source and re-generate the client library with Maven:
@ -48,11 +46,6 @@ import android.os.AsyncTask;
import android.util.Log; import android.util.Log;
class WordOfTheDayAsyncTask extends AsyncTask<Void, Void, WordOfTheDay> { class WordOfTheDayAsyncTask extends AsyncTask<Void, Void, WordOfTheDay> {
FullscreenActivity activity = null;
public WordOfTheDayAsyncTask(FullscreenActivity activity) {
this.activity = activity;
}
@Override @Override
protected WordOfTheDay doInBackground(Void... params) { protected WordOfTheDay doInBackground(Void... params) {
WordsApi api = new WordsApi(); WordsApi api = new WordsApi();