package io.fabianterhorst.fastlayout.sample;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(new ActivityMainLayout(this));
    }
}

@@ -293,16 +293,36 @@
         
+//Default%0A        //
 setConte
@@ -359,16 +359,228 @@
 this));%0A
+        //The cache is reusing the object to improve the performance%0A        ActivityMainLayout layout = LayoutCache.getInstance(this).getLayout(LayoutCache.Activity_Main_Layout);%0A        setContentView(layout);%0A
     %7D%0A%7D%0A

improve sample