java - Class with repeated buttons android -


i have several classes same buttons. how can combine them 1 class rather writing them in each class? thanks

make bean class buttons , use them using getter , setters throughout app. create buttons dynamically

http://theopentutorials.com/tutorials/android/listview/android-custom-listview-with-image-and-text-using-baseadapter/ 

this link implement such things.. may solve ur problem :)


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -