parent
243e549910
commit
ba0fe4cfc9
|
@ -32,15 +32,16 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'org.twitter4j:twitter4j-core:4.0.7'
|
|
||||||
implementation 'com.github.QuadFlask:colorpicker:0.0.13'
|
|
||||||
implementation 'com.squareup.picasso:picasso:2.71828'
|
|
||||||
implementation 'com.android.support:appcompat-v7:28.0.0'
|
implementation 'com.android.support:appcompat-v7:28.0.0'
|
||||||
implementation 'com.android.support:exifinterface:28.0.0'
|
implementation 'com.android.support:exifinterface:28.0.0'
|
||||||
implementation 'com.android.support:cardview-v7:28.0.0'
|
implementation 'com.android.support:cardview-v7:28.0.0'
|
||||||
implementation 'com.android.support:support-vector-drawable:28.0.0'
|
implementation 'com.android.support:support-vector-drawable:28.0.0'
|
||||||
implementation 'com.android.support:design:28.0.0'
|
implementation 'com.android.support:design:28.0.0'
|
||||||
|
|
||||||
|
implementation 'org.twitter4j:twitter4j-core:4.0.7'
|
||||||
|
implementation 'com.github.QuadFlask:colorpicker:0.0.13'
|
||||||
|
implementation 'com.squareup.picasso:picasso:2.71828'
|
||||||
|
|
||||||
implementation(name: 'zoomview', ext: 'aar')
|
implementation(name: 'zoomview', ext: 'aar')
|
||||||
implementation(name: 'tagger', ext: 'aar')
|
implementation(name: 'tagger', ext: 'aar')
|
||||||
}
|
}
|
|
@ -309,12 +309,12 @@ public class ProfileLoader extends AsyncTask<Long, Long, Long> {
|
||||||
|
|
||||||
case 50:
|
case 50:
|
||||||
case 63:
|
case 63:
|
||||||
|
case 136:
|
||||||
Toast.makeText(ui.get(), R.string.user_not_found, Toast.LENGTH_SHORT).show();
|
Toast.makeText(ui.get(), R.string.user_not_found, Toast.LENGTH_SHORT).show();
|
||||||
ui.get().finish();
|
ui.get().finish();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case -1:
|
case -1:
|
||||||
case 136:
|
|
||||||
Toast.makeText(ui.get(), R.string.error_not_specified, Toast.LENGTH_SHORT).show();
|
Toast.makeText(ui.get(), R.string.error_not_specified, Toast.LENGTH_SHORT).show();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
@ -234,8 +234,6 @@ public class StatusLoader extends AsyncTask<Long, Void, Long> {
|
||||||
} else if (mode == ERROR) {
|
} else if (mode == ERROR) {
|
||||||
|
|
||||||
switch (returnCode) {
|
switch (returnCode) {
|
||||||
case 136:
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 420:
|
case 420:
|
||||||
Toast.makeText(ui.get(), R.string.rate_limit_exceeded, Toast.LENGTH_SHORT).show();
|
Toast.makeText(ui.get(), R.string.rate_limit_exceeded, Toast.LENGTH_SHORT).show();
|
||||||
|
@ -250,6 +248,7 @@ public class StatusLoader extends AsyncTask<Long, Void, Long> {
|
||||||
|
|
||||||
case 50:
|
case 50:
|
||||||
case 63:
|
case 63:
|
||||||
|
case 136:
|
||||||
Toast.makeText(ui.get(), R.string.user_not_found, Toast.LENGTH_SHORT).show();
|
Toast.makeText(ui.get(), R.string.user_not_found, Toast.LENGTH_SHORT).show();
|
||||||
ui.get().finish();
|
ui.get().finish();
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue