Believe it or not, the TextView displayed on the layout with visibility = "gone" . There were precedents? Where to looking for?

UPDATE

Screenshots in order.

  1. TextView in markup:

TextView tvMid in markup - visibility = "gone"

  1. TextView in the search results (to the question of further manipulations with the textview):

There are no manipulations with textview tvMid that change its visibility.

  1. This is how TextView tvMid looks on a layout in Android Studio:

On the model in the studio it is not visible

  1. And finally, it looks like this on the device:

On the tvMid device is displayed

UPDATE 2:

Empirically it turned out that the Fundapter was guilty of amigo. Visibility changes here:

 BindDictionary<master> dict = new BindDictionary<master>(); dict.addStringField(R.id.tvMid, new StringExtractor<master>() { @Override public String getStringValue(master person, int position) { return person.user_id; } }); 

Tell me how to treat?

  • Give an example of your markup or something .. and in general, more information related to the problem. If everything is correct, then there were no such precedents, perhaps, for the entire existence of Android / - pavlofff

3 answers 3

try file> Invalidate caches / Restart

    If the Android Studio environment, try:

    Build > Clean Project

    Then remove the application from the device and compile it again. Overwhelmingly helps with any oddities.

      If the problem manifests itself in the studio layout previewer, then you just need not use it, because it works poorly. If this is manifested on the device, then, apparently, you have included instantRun in the studio settings. It must be disabled, because It works just as badly as the previewer.

      • I tried all three options - the problem persists - Newbie
      • @ Newbie, but if you create an empty activation with empty markup and add an invisible text field to it - will it be visible? 99% what not. Apparently, you are hiding some details. Can you manipulate the visibility of it somewhere? - Yuriy SPb