I have a ViewFlipper that presents 3 different views.
Is it possible to have 3 classes manage* the 3 different views? If so, how do I go about doing this?
Why don't you make your News
and Prices
class contain all of your application logic as you said. If you make them extend ListView
you can then add them to your ViewFlipper
and treat them in the same way, but they will have the specific behaviour as dictated by whatever you put in the News
and Prices
classes.
Alternatively, just set a different listView.setAdapter()
[to populate], and listView.setOnItemSelectedListener()
[to alter behaviour] for each ListView you have in your ViewFlipper.