Android extend multiple activity types -


i'm wanting extend both mapactivity , fragmentactivity. know java doesn't allow multiple inheritance, how do this? i've read 'composite' type, i've never implemented 1 don't know how go doing that.

someone else has have run before, how did solve it?

edit: reason want because have 3 activities in tabs; map, image gallery, , settings list view. code 3 of these "acitivities" inside 1 big mapactivity called "main". yes know ugly, , not programming practice, , don't remember why wrote way. think because reading people recommended not having separate activities separate tabs... if decided split them separate activities, wouldn't have problem anymore.

i have no idea why want such thing, suppose easiest solution activitygroup, similar how tabbedactivity works.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -