Skip to content

Commit

Permalink
Updating readme and version
Browse files Browse the repository at this point in the history
  • Loading branch information
PGMacDesign committed Feb 27, 2019
1 parent 1cf1fc1 commit e04621d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
15 changes: 5 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ repositories {
}
dependencies {
implementation 'com.github.pgmacdesign:turbolinks-android:1.1.1'
implementation 'com.github.pgmacdesign:turbolinks-android:1.1.2'
}
```

Expand Down Expand Up @@ -102,17 +102,12 @@ protected void onCreate(Bundle savedInstanceState) {
.adapter(this)
.view(turbolinksView);

//Optional, but recommended if nested within a Swipe Refresh View
this.turbolinksSession.setSwipeRefreshEnabledListener(new SwipeRefreshEnabledListener() {
@Override
public void shouldEnableSwipeRefresh(boolean b) {
mySwipeRefreshView.setEnabled(b);
}
});

//Optional, set cookies or a custom user-agent String
this.turbolinksSession.setCookie(myCookieUrl, myCookieString);
this.turbolinksSession.adjustUserAgentString(myNewUserAgentString);
//Optional, This will append the custom user agent string to the existing one, send false to overwrite.
this.turbolinksSession.adjustUserAgentString(myNewUserAgentString, true);
//Optional, set debug logging (Defaults to false)
TurbolinksSession.setDebugLoggingEnabled(true);

//Load a page
this.turbolinksSession.visit("https://basecamp.com");
Expand Down
2 changes: 1 addition & 1 deletion demoapp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ android {
minSdkVersion 19
targetSdkVersion 28
versionCode 1
versionName "1.0"
versionName "1.1.2"
}
buildTypes {
release {
Expand Down
2 changes: 1 addition & 1 deletion turbolinks/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'com.github.dcendents.android-maven'
group='com.github.PGMacDesign'

buildscript {
ext.libVersionName = '1.1.1'
ext.libVersionName = '1.1.2'

repositories {
jcenter()
Expand Down

0 comments on commit e04621d

Please sign in to comment.