Skip to content

armgit / haven

Public Imported from GitHub
0

Haven is for people who need a way to protect their personal spaces and possessions without compromising their own privacy, through an Android app and on-device sensors

reverse the order of the image display

n8fr83a11e22d5b03
diff --git a/src/main/java/info/guardianproject/phoneypot/ListActivity.java b/src/main/java/info/guardianproject/phoneypot/ListActivity.java
index 9579c17..34d7c07 100644
--- a/src/main/java/info/guardianproject/phoneypot/ListActivity.java
+++ b/src/main/java/info/guardianproject/phoneypot/ListActivity.java
@@ -138,7 +138,7 @@ public class ListActivity extends AppCompatActivity {
findViewById(R.id.empty_view).setVisibility(View.GONE);
}
- events = Event.listAll(Event.class);
+ events = Event.listAll(Event.class,"id DESC");
adapter = new EventAdapter(ListActivity.this, events);
recyclerView.setAdapter(adapter);