title: Android does not append() text to textview properly
body: <p>I have a textview in which i append text in two ways: 
  First way: by clicking button and getting what is in EditText.</p>
  
  <pre><code> sendbutton.setOnClickListener(new OnClickListener() {
              @Override
              public void onClick(View v) {
                txview.append("Text: "+txedit.getText()+"\n");
                txedit.setText("");
  
   }
            });
  </code></pre>
  
  <p>And this works fine, when i click the button textview updates the view with new text.</p>
  
  <p><strong>BUT</strong></p>
  
  <p>The second way, I listen to xmpp listener (asmack library) and on recieving message I append it to textView.</p>
  
  <pre><code> chat = xmpp.getChatManager().createChat(contactid[1], new MessageListener() {
                  public void processMessage(Chat chat, Message message) {    
                       try {
                          chat.sendMessage(message.getBody());
                      } catch (XMPPException e) {
                          // TODO Auto-generated catch block
                          e.printStackTrace();
                      }                txview.append("Text"+message.getFrom()+"\n"+message.getBody()+"\n");               }                                                       }
              );;
  </code></pre>
  
  <p><strong>The Problem</strong> is, that i recieve message, i know it <strong>for sure</strong> (because i resend it to user with chat.sendMessage(message.getBody());) , <strong>BUT</strong> textview shows my messages only after I change the view or get application to background (clicking home button) and then getting it back to the front.</p>
  
  <p><strong>What I tried</strong>
  calling invalidate() on every view, doesn't work at all.</p>
  
  <p>Is it any solution or an other way to do what im doing?</p>