Back to project page photo-share-android.
The source code is released under:
Apache License
If you think the Android project photo-share-android 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.project.photoshare.listener; //from w ww .j a v a 2 s . c o m import android.content.Context; import android.content.Intent; import com.android.volley.Response; import com.project.photoshare.UploadCompleted; import org.json.JSONObject; /** * Created by TakuyaKodama on 14/06/19. */ public class PostImageSuccessListener implements Response.Listener<JSONObject> { private static final String TAG = PostImageSuccessListener.class.getSimpleName(); private Context mContext; public PostImageSuccessListener(Context context) { mContext = context; } @Override public void onResponse(JSONObject response) { mContext.startActivity(new Intent(mContext, UploadCompleted.class)); } }