title: Xml getText return null - Android
body: <p>i'm using XmlPullParser on Android but get getText return null.
  Why is this happening?</p>
  
  <p>The code, the commented line gives the  null</p>
  
  <pre><code>    ArrayList&lt;String&gt; titleList = new ArrayList&lt;String&gt;();
      try {
          XmlPullParserFactory factory = XmlPullParserFactory.newInstance();
          factory.setNamespaceAware(true);
          XmlPullParser xpp = factory.newPullParser();
  
          xpp.setInput(this.getInputStream(), null);
          int eventType = xpp.getEventType();
  
          while (eventType != XmlPullParser.END_DOCUMENT) {
              if (eventType == XmlPullParser.START_TAG) {
                  if (xpp.getName().equalsIgnoreCase(TITLE)) {
  //                  MainActivity.itemsList.add(xpp.getText());
                      Log.d("XGamers", "a");
                  }
              }``
              eventType = xpp.next();
          }
      } catch (XmlPullParserException e) {
          Log.e("XGamers", "XmlPullParserException in FeedParser");
      } catch (IOException e) {
          Log.e("XGamers", "IOException in FeedParser");
      }
  </code></pre>