Place for AlertDialog in Android app based on MVP architecture

As MVP is not a specific platform principle, it can be used to write platform-agnostic applications. Since M and P are pretty easy to be written in plain Java (not always true for M, but almost always true for P), V is practically a component of the target platform (say, Swing, GWT, JavaFX, Android, and even CLI [command line interface]). Suppose you write such a cross-platform application and you have a specific view, INotificationView that is declared as follows:

Your base platform-agnostic P does not known anything on which platform it's being executed or supposed to be executed on (at least at the compile-time), and it only holds a reference to an INotificationView instance. Thus you can inject platform-specific views like:

Note that this approach lets you to write regular unit tests for your presenters as it holds no platform-specific dependencies anymore. Another point is, let's say, you port your application to CLI, so the interface above might be implemented as follows:

Pretty different than the Android implementation, right? This is basically what MVP is about.

Also note, that the name of the notification view method is not named displayError or showError or showAlertDisplay just because the view interface does not dictate how the error will be notified to a user -- it's still error reporting somehow from the V perspective.