Skip to main content
edited tags
Link
Source Link

Different Activities for every level?

So I've got a simple game with different levels. For the most part the levels use the same code, with only slightly different things. Do i have to make a new Activity for every level? The app will have a 'level select' screen. Is there a way to tell one activity to run a certain set of java based on what level I selected? Any suggestions would be appreciated.