From 696527638940d7809659a9f8e19b6fe0d00b2f7b Mon Sep 17 00:00:00 2001 From: fabianterhorst Date: Fri, 10 Jun 2016 18:12:07 +0200 Subject: [PATCH] update version and README --- README.md | 4 ++-- version.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4d356b4..e1e2152 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ buildscript { } dependencies { ... - classpath 'io.fabianterhorst:fastlayout-gradle-plugin:0.0.2-alpha35' + classpath 'io.fabianterhorst:fastlayout-gradle-plugin:0.0.2-alpha36' ... } } @@ -49,7 +49,7 @@ public class MainActivity extends AppCompatActivity { //when you donĀ“t wanna use the cache you can also just initiate the object //setContentView(new ActivityMainLayout(this)); //The cache is reusing the object to improve the performance - ActivityMainLayout layout = LayoutCache.getInstance(this).getLayout(LayoutCache.Activity_Main_Layout); + ActivityMainLayout layout = LayoutCache.getInstance().getLayout(context, LayoutCache.Activity_Main_Layout); setContentView(layout); } } diff --git a/version.txt b/version.txt index b3978ee..7ee6a50 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.0.2-alpha35 \ No newline at end of file +0.0.2-alpha36 \ No newline at end of file