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