i am trying to create a button in dummy content class, but whenever i create constructor 

Button b = new Button(this);

this is giving an error. does anyone know how to add a button to the list view or to dummycontnet in master detail flow?