L
L
lorangarfield2017-04-25 15:23:24
Android
lorangarfield, 2017-04-25 15:23:24

Activity, onStop, in what situations will an error occur?

Explain what error and in what situation the code in the Activity file will lead to:

@Override    
    protected void onStop() {        
        super.onStop();        
        presenterActivity.unsubscribe();    
    }

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Myvrenik, 2017-04-25
@lorangarfield

If , then throws NPE. presenterActivity == null

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question