O
O
OM12016-11-10 21:06:42
Android
OM1, 2016-11-10 21:06:42

Android: how to use inflat in MVP pattern?

The task is to implement popup window.
All examples use "infusions" i.e.

View layout = inflater.inflate(R.layout.popup,(ViewGroup) findViewById(R.id.popup_1));

This causes an error: expected view.View , but received something else
Where exactly and how to use this method in the MVP pattern?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question