diff --git a/README.md b/README.md index c3d54f6..e83f63c 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ repositories { } dependencies { - implementation 'com.github.pgmacdesign:turbolinks-android:1.1.1' + implementation 'com.github.pgmacdesign:turbolinks-android:1.1.2' } ``` @@ -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"); diff --git a/demoapp/build.gradle b/demoapp/build.gradle index f82bd60..f6f4d2c 100644 --- a/demoapp/build.gradle +++ b/demoapp/build.gradle @@ -9,7 +9,7 @@ android { minSdkVersion 19 targetSdkVersion 28 versionCode 1 - versionName "1.0" + versionName "1.1.2" } buildTypes { release { diff --git a/turbolinks/build.gradle b/turbolinks/build.gradle index 2373426..2db37ea 100644 --- a/turbolinks/build.gradle +++ b/turbolinks/build.gradle @@ -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()