aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcinzelent <zelent.marcin@gmail.com>2018-04-19 23:03:13 +0200
committermarcinzelent <zelent.marcin@gmail.com>2018-04-19 23:03:13 +0200
commit4e6fc4fcdbcc3c75be13b3f8b80c24e4648fe354 (patch)
tree9588d81ee5e3e470d242f82b015fac6e34d54014 /app/src/main/java/org/marcinzelent/liberavem/MainActivity.java
parent7294c6bd32e362b4c0a64cadbf4dd2c191e1ad8e (diff)
Added details view, improved observations list
Diffstat (limited to 'app/src/main/java/org/marcinzelent/liberavem/MainActivity.java')
-rw-r--r--app/src/main/java/org/marcinzelent/liberavem/MainActivity.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/src/main/java/org/marcinzelent/liberavem/MainActivity.java b/app/src/main/java/org/marcinzelent/liberavem/MainActivity.java
index dc261c5..b1c73b4 100644
--- a/app/src/main/java/org/marcinzelent/liberavem/MainActivity.java
+++ b/app/src/main/java/org/marcinzelent/liberavem/MainActivity.java
@@ -17,6 +17,14 @@ import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.Menu;
import android.view.MenuItem;
+import android.widget.Toast;
+
+import com.android.volley.Request;
+import com.android.volley.Response;
+import com.android.volley.VolleyError;
+import com.android.volley.toolbox.StringRequest;
+import com.google.gson.Gson;
+import com.google.gson.GsonBuilder;
public class MainActivity extends AppCompatActivity
implements NavigationView.OnNavigationItemSelectedListener,
@@ -51,6 +59,7 @@ public class MainActivity extends AppCompatActivity
toggle.syncState();
NavigationView navigationView = findViewById(R.id.nav_view);
+ navigationView.getMenu().getItem(0).setChecked(true);
navigationView.setNavigationItemSelectedListener(this);
}