Back to project page PhotoShare.
The source code is released under:
MIT License
If you think the Android project PhotoShare listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.example.photoshare; /* ww w . j a va 2 s.co m*/ import android.app.ListActivity; import android.os.Bundle; import com.example.parse.PrsPhoto; import com.parse.ParseQueryAdapter; public class PhotoBrowse extends ListActivity { private ParseQueryAdapter<PrsPhoto> mainAdapter; private PhotoListAdapter photoAdapter; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_photo_browse); getListView().setClickable(false); /* mainAdapter = new ParseQueryAdapter<PrsPhoto>(this, PrsPhoto.class); mainAdapter.setTextKey("title"); mainAdapter.setImageKey("photo"); setListAdapter(mainAdapter); */ photoAdapter = new PhotoListAdapter(this); photoAdapter.loadObjects(); setListAdapter(photoAdapter); } }