<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: William Simmons</title>
    <description>The latest articles on DEV Community by William Simmons (@willsimz).</description>
    <link>https://dev.to/willsimz</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F777375%2F4f09f550-264a-4bd1-af06-28c7a04f9910.png</url>
      <title>DEV Community: William Simmons</title>
      <link>https://dev.to/willsimz</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/willsimz"/>
    <language>en</language>
    <item>
      <title>Show Username and Email in Navigation Header</title>
      <dc:creator>William Simmons</dc:creator>
      <pubDate>Sat, 25 Dec 2021 23:05:36 +0000</pubDate>
      <link>https://dev.to/willsimz/show-username-and-email-in-navigation-header-52ef</link>
      <guid>https://dev.to/willsimz/show-username-and-email-in-navigation-header-52ef</guid>
      <description>&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;h1&gt;
          &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7Gn-iPj_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/stackoverflow-logo-b42691ae545e4810b105ee957979a853a696085e67e43ee14c5699cf3e890fb4.svg" alt=""&gt;
            &lt;a href="https://stackoverflow.com/questions/70483240/show-username-and-email-in-navigation-header" rel="noopener noreferrer"&gt;
              
            &lt;/a&gt;
        &lt;/h1&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;Dec 25 '21&lt;/span&gt;
            &lt;span&gt;Comments: 1&lt;/span&gt;
            &lt;span&gt;Answers: 0&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/70483240/show-username-and-email-in-navigation-header" rel="noopener noreferrer"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Y9mJpuJP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/stackexchange-arrow-up-eff2e2849e67d156181d258e38802c0b57fa011f74164a7f97675ca3b6ab756b.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          -1
        &lt;/div&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wif5Zq3z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/stackexchange-arrow-down-4349fac0dd932d284fab7e4dd9846f19a3710558efde0d2dfd05897f3eeb9aba.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;p&gt;Within my navigation header,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://i.stack.imgur.com/U7K51.jpg" rel="nofollow noreferrer"&gt;Navigation Drawer&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I would like to display a users Username and email address as shown&lt;/p&gt;
&lt;p&gt;&lt;a href="https://i.stack.imgur.com/CMk0p.jpg" rel="nofollow noreferrer"&gt;Username and Email Fields from create user activity&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;However whatever I place in the setText of those text view variables i recieve a null pointer exception : Caused by: java.lang.NullPointerException: Attempt…&lt;/p&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    
      &lt;a href="https://stackoverflow.com/questions/70483240/show-username-and-email-in-navigation-header" rel="noopener noreferrer"&gt;Open Full Question&lt;/a&gt;
    
  &lt;/div&gt;
&lt;/div&gt;


</description>
    </item>
    <item>
      <title>EditText.setError("Error Text") not showing popups</title>
      <dc:creator>William Simmons</dc:creator>
      <pubDate>Mon, 20 Dec 2021 00:29:59 +0000</pubDate>
      <link>https://dev.to/willsimz/edittextseterrorerror-text-not-showing-popups-5bf4</link>
      <guid>https://dev.to/willsimz/edittextseterrorerror-text-not-showing-popups-5bf4</guid>
      <description>&lt;p&gt;Could use some help with my EditText errors not showing in my app.&lt;/p&gt;


&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;h1&gt;
          &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7Gn-iPj_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/stackoverflow-logo-b42691ae545e4810b105ee957979a853a696085e67e43ee14c5699cf3e890fb4.svg" alt=""&gt;
            &lt;a href="https://stackoverflow.com/questions/70415206/edittext-seterrorerror-text-not-showing-popups" rel="noopener noreferrer"&gt;
              
            &lt;/a&gt;
        &lt;/h1&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;Dec 19 '21&lt;/span&gt;
            &lt;span&gt;Comments: 1&lt;/span&gt;
            &lt;span&gt;Answers: 1&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/70415206/edittext-seterrorerror-text-not-showing-popups" rel="noopener noreferrer"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Y9mJpuJP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/stackexchange-arrow-up-eff2e2849e67d156181d258e38802c0b57fa011f74164a7f97675ca3b6ab756b.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          0
        &lt;/div&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wif5Zq3z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/stackexchange-arrow-down-4349fac0dd932d284fab7e4dd9846f19a3710558efde0d2dfd05897f3eeb9aba.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;p&gt;Im creating a simple login activity and am implementing some user input error checking on some EditText fields.&lt;/p&gt;
&lt;p&gt;However, the setError public method seems to not show anything or, if it is, I'm unable to view when running the app.&lt;/p&gt;
&lt;p&gt;XML for one of the EditText elements&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;EditText
    android:id="@+id/userName"
    android:layout_width="250dp"&lt;/code&gt;&lt;/pre&gt;…
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    
      &lt;a href="https://stackoverflow.com/questions/70415206/edittext-seterrorerror-text-not-showing-popups" rel="noopener noreferrer"&gt;Open Full Question&lt;/a&gt;
    
  &lt;/div&gt;
&lt;/div&gt;


</description>
    </item>
  </channel>
</rss>
