dependencies {
compile project(':leanfilterlist')
}
FilteredListLayout filteredListLayout = new FilteredListLayout(this);
filteredListLayout.addFilterButton("Sports");
filteredListLayout.addFilterButton("Politics");
filteredListLayout.addFilterButton("Science");
filteredListLayout.addFilterButton("Books");
filteredListLayout.addFilterButton("Education");
filteredListLayout.addFilterButton("Tech");
filteredListLayout.addListComponent(bitmap1,title1,subTitle,new ArrayList<String>(){{
add("Sports");
}});
filteredListLayout.addListComponent(bitmap2,title2,subtitle2,new ArrayList<String>(){{
add("Science");
add("Books");
add("Education");
}});
setContentView(filteredListLayout);