FabianTerhorst / FastLayout

Generates a Java Object for your xml layout to reduce inflate time to zero
Apache License 2.0
443 stars 35 forks source link

Provide exclude annotation #12

Closed antoxa2584x closed 8 years ago

antoxa2584x commented 8 years ago

You can add all but can not exclude some layouts.

barisahmet commented 8 years ago

You can use

@Layouts(layouts = {"activity_main", "fragment_one"})

or

@Layouts(ids = {R.layout.activity_main, R.layout.fragment_one})

FabianTerhorst commented 8 years ago

@barisahmet but he want something like @Layouts(all = true, exclude = R.layout.sample_item). I will add this later if i find some time.

FabianTerhorst commented 8 years ago

@antoxa2584x @barisahmet i have added the exclude support in version 0.0.2-alpha11