M
M
Meposhka2017-12-04 15:02:40
Android
Meposhka, 2017-12-04 15:02:40

Why is the code section highlighted?

The people, perhaps a stupid question, but I didn’t just encounter a problem, but an unpleasant situation, so to speak, the program listing is highlighted and catches my eye and I can’t understand what the problem could be, I understand that IDEA doesn’t like something, but What could it be? The hint asked me to press the key combination alt + f1, but this does not tell me anything. The funny thing is that everything works, it seems to be even correct, but this is not accurate.
5a2538995ed06996420225.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Chvarkov, 2017-12-04
@Meposhka

The studio tells you that instead of the argument OnCompleteListener < Void > () you send OnCompleteListener (). There is a type cast without checking if it is possible.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question