mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Add actions to controller
This commit is contained in:
parent
5b63fc60cd
commit
d20cc99378
1 changed files with 5 additions and 4 deletions
|
|
@ -60,7 +60,7 @@ public class ReviewActivity extends AuthenticatedActivity {
|
|||
public ReviewPagerAdapter reviewPagerAdapter;
|
||||
|
||||
//private ReviewCallback reviewCallback;
|
||||
private ReviewController reviewController;
|
||||
public ReviewController reviewController;
|
||||
|
||||
@BindView(R.id.reviewPagerIndicator)
|
||||
public CirclePageIndicator pagerIndicator;
|
||||
|
|
@ -108,7 +108,7 @@ public class ReviewActivity extends AuthenticatedActivity {
|
|||
return super.onOptionsItemSelected(item);
|
||||
}
|
||||
|
||||
private boolean runRandomizer() {
|
||||
public boolean runRandomizer() {
|
||||
ProgressBar progressBar = reviewPagerAdapter.reviewImageFragments[pager.getCurrentItem()].progressBar;
|
||||
if (progressBar != null) {
|
||||
progressBar.setVisibility(View.VISIBLE);
|
||||
|
|
@ -171,13 +171,14 @@ public class ReviewActivity extends AuthenticatedActivity {
|
|||
context.startActivity(reviewActivity);
|
||||
}
|
||||
|
||||
interface ReviewCallback {
|
||||
/*interface ReviewCallback {
|
||||
void onImageRefreshed(String itemTitle);
|
||||
|
||||
void onQuestionChanged();
|
||||
void onSurveyFinished();
|
||||
void onImproperImageReported();
|
||||
void onLicenceViolationReported();
|
||||
void onWrongCategoryReported();
|
||||
void onThankSent();
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue