Skip to content

Commit

Permalink
pre 1.1.0, README tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
KirkBushman committed Aug 26, 2021
1 parent 3142eea commit 40501c3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
24 changes: 21 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,24 @@ ARAW it's hosted on Jitpack

You can find the Docs at: [https://kirkbushman.github.io/ARAW/](https://kirkbushman.github.io/ARAW/)

### Requirements

ARAW requires Java 11, you can upgrade your project like this:
```groovy
android {
/* ... */
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = '11'
}
}
```

### How to install.

Expand Down Expand Up @@ -61,8 +79,8 @@ val client = helper.getRedditClient()
// step 1 - crete the help
val helper = AuthAppHelper(
context = this,
clientId = **CLIENT ID STRING**,
redirectUrl = **REDIRECT URL**,
clientId = "**CLIENT ID STRING**",
redirectUrl = "**REDIRECT URL**",
scopes = creds.scopes.toTypedArray(), // array of scopes strings
logging = true
)
Expand Down Expand Up @@ -126,7 +144,7 @@ println(submissions.toString())

[Redditoria](https://play.google.com/store/apps/details?id=com.kirkbushman.redditoria)

Help improve this section, open an issue subitting your implementation.
Help improve this section, open an issue submitting your implementation.


### License
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ModeratedSubsController(
subreddit {
id(it.fullname)
subreddit(it.displayNamePrefixed)
subscribed(it.isSubscriber)
subscribed(it.isSubscriber ?: false)
subscribeClick(View.OnClickListener { callback?.subscribeClick(index) })
}
}
Expand Down

0 comments on commit 40501c3

Please sign in to comment.