[WIP] add on-click actions to ReviewActivity

This commit is contained in:
Yusuke Matsubara 2018-05-19 17:30:07 +02:00 committed by maskara
parent 14c871abca
commit aa479dc9b4
4 changed files with 6 additions and 4 deletions

View file

@ -1133,7 +1133,6 @@ public class ApacheHttpClientMediaWikiApi implements MediaWikiApi {
// strip File: prefix
imageTitle = imageTitle.replace("File:", "");
media = new Media(imageTitle);
//media = fetchMediaByFilename(fileName);
}
}
}

View file

@ -1,5 +1,6 @@
package fr.free.nrw.commons.review;
import android.app.AlertDialog;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
@ -14,6 +15,7 @@ import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.EditText;
import com.viewpagerindicator.CirclePageIndicator;
@ -28,7 +30,6 @@ import fr.free.nrw.commons.Media;
import fr.free.nrw.commons.R;
import fr.free.nrw.commons.Utils;
import fr.free.nrw.commons.auth.AuthenticatedActivity;
import fr.free.nrw.commons.mwapi.MediaResult;
import fr.free.nrw.commons.mwapi.MediaWikiApi;
import io.reactivex.Observable;
import io.reactivex.android.schedulers.AndroidSchedulers;
@ -67,7 +68,6 @@ public class ReviewActivity extends AuthenticatedActivity {
@Override
protected void onAuthFailure() {
}
@Override

View file

@ -1,9 +1,11 @@
package fr.free.nrw.commons.review;
import android.app.AlertDialog;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.EditText;
import android.widget.TextView;
import com.facebook.drawee.view.SimpleDraweeView;

View file

@ -462,12 +462,13 @@ Upload your first media by touching the camera or gallery icon above.</string>
<string name="check_category_failure_title">Requesting category check: Failed</string>
<string name="check_category_success_message">Successfully requested category check for %1$s</string>
<string name="check_category_failure_message">Could not request category check for %1$s</string>
<string name="check_category_toast">Requesting category check for %1%s</string>
<string name="check_category_toast">Requesting category check for %1$s</string>
<string name="nominate_for_deletion_edit_file_page">Adding delete message to file</string>
<string name="nominate_for_deletion_done">Done</string>
<string name="nominate_for_deletion_notify_user">Notifying User on Talk page</string>
<string name="nominate_for_deletion_edit_deletion_request_log">Adding file to Delete requests log</string>
<string name="nominate_for_deletion_create_deletion_request">Creating Delete requests subpage</string>
<string name="notsure">Not sure</string>
<string name="review_copyright">Is this a copyright violation?</string>
<string name="review_category">Is this mis-categorized?</string>