title: Save text in fields in Activity
body: <p>I have some of text blocks in activity, but when I change activity text in it dissapears.</p>
  
  <p>How I can save text?</p>
  
  <p>I know it is Shared preferences in Android. But how I can save text in activity by using it?</p>
  
  <p>Code</p>
  
  <pre><code>private void Display (){
          LinearLayout display2 = FindViewById&lt;LinearLayout&gt; (Resource.Id.linearLayout12);        
          //LinearLayout display = FindViewById&lt;LinearLayout&gt; (Resource.Id.linearLayout13);           
          TextView productname = FindViewById&lt;TextView&gt; (Resource.Id.posttittle);
          TextView price = FindViewById&lt;TextView&gt; (Resource.Id.price);
          TextView weight = FindViewById&lt;TextView&gt; (Resource.Id.weight);
  
  
          productname.Text = Intent.GetStringExtra ("title");
  
          if (productname.Text == Intent.GetStringExtra ("title")) {
              display2.Visibility = ViewStates.Visible;
          } 
          else {
              display2.Visibility = ViewStates.Gone;
          }
  
  
          price.Text = Intent.GetStringExtra("price");
          weight.Text = Intent.GetStringExtra("weight");
          //display2.Visibility = ViewStates.Visible;
          productname.Visibility = ViewStates.Visible;
          price.Visibility = ViewStates.Visible;
          weight.Visibility = ViewStates.Visible;
      }
  </code></pre>
  
  <p><strong>My Axml</strong></p>
  
  <pre><code>&lt;LinearLayout
              android:orientation="vertical"
              android:minWidth="25px"
              android:minHeight="25px"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:id="@+id/linearLayout12"&gt;
              &lt;LinearLayout
                  android:orientation="horizontal"
                  android:layout_width="match_parent"
                  android:layout_height="147.6dp"
                  android:id="@+id/linearLayout13"
                  android:minWidth="25px"
                  android:minHeight="25px"&gt;
                  &lt;LinearLayout
                      android:orientation="horizontal"
                      android:minWidth="25px"
                      android:minHeight="25px"
                      android:layout_width="276.2dp"
                      android:layout_height="match_parent"
                      android:id="@+id/linearLayout24"&gt;
                      &lt;TextView
                          android:textAppearance="?android:attr/textAppearanceLarge"
                          android:layout_width="244.3dp"
                          android:layout_height="97.3dp"
                          android:id="@+id/posttittle"
                          android:layout_marginTop="22.4dp"
                          android:paddingTop="32dp"
                          android:layout_marginLeft="16.8dp" /&gt;
                  &lt;/LinearLayout&gt;
                  &lt;LinearLayout
                      android:orientation="vertical"
                      android:minWidth="25px"
                      android:minHeight="25px"
                      android:layout_width="173.1dp"
                      android:layout_height="match_parent"
                      android:id="@+id/linearLayout25"&gt;
                      &lt;TextView
                          android:textAppearance="?android:attr/textAppearanceMedium"
                          android:layout_width="59.9dp"
                          android:layout_height="43.8dp"
                          android:id="@+id/weight"
                          android:layout_marginTop="54.6dp"
                          android:text="330u"
                          android:layout_marginLeft="5.6dp" /&gt;
                      &lt;TextView
                          android:textAppearance="?android:attr/textAppearanceMedium"
                          android:layout_width="82.3dp"
                          android:layout_height="42.4dp"
                          android:id="@+id/price"
                          android:text="88.00uhy" /&gt;
                  &lt;/LinearLayout&gt;
              &lt;/LinearLayout&gt;
              &lt;LinearLayout
                  android:orientation="horizontal"
                  android:minWidth="25px"
                  android:minHeight="25px"
                  android:layout_width="match_parent"
                  android:layout_height="5dp"
                  android:id="@+id/linearLayout23"
                  android:background="#99999999" /&gt;
          &lt;/LinearLayout&gt;
  </code></pre>