Where to capture onResume in Android MVC ViewController structure

89 views Asked by At

I have taken over maintenance of an Android application that uses MVC with a ViewController interface.

Part of the revisions I'm making are to add JTwitter links. I am being challenged on the JTwitter Authorization where I'm expecting to get a callback.

Where would I capture the onResume or onNewIntent events when a callback occurs?

My class is defines as:

public class ExportTwitterScreen extends BasicViewController<ExportTwitterScreenView>

I have tried putting the onResume in the BasicViewController but that does nothing for me.

Ideas?

1

There are 1 answers

2
Daniel Winterstein On

I think this may be more of an Android question than a JTwitter one.

For authorisation in Android, see the AndroidTwitterLogin class. The javadoc gives an example of how to use it. It should be easy.