What does it mean to underline this section of the code?

Asked

Viewed 169 times

0

I’m trying to use a searchview along with the listview of my project, but I’m not getting it, because where I’m going to set the lisview Adapter inside the onQueryTextChange method, it appears underlined and not working correcting as it should.

What it means to be underlined ?

inserir a descrição da imagem aqui

1 answer

1


If it’s not working as it should, it’s not for that reason.

In this case, the underlined variable name indicates that it is a local variable final declared outside the anonymous class where it is being used.

  • This would be no more a comment than a reply?!

  • 1

    @Jorgeb. Why? Because it’s short? This is the answer to the question. It’s not my fault that this is all there is to say.:)

  • no, nothing to be short about. I think the question should be closed.

  • 1

    @Jorgeb. I understand, but I doubt if there’s any reason to shut it down.

  • @ramaral - Understood. Thank you.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.