mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-12-23 05:16:58 +00:00
Use TextUtils.join as String.join requires API level 26
This commit is contained in:
parent
0023c56688
commit
a0402c8bf3
@ -4,6 +4,7 @@ import android.content.Intent;
|
||||
import android.net.Uri;
|
||||
import android.os.AsyncTask;
|
||||
import android.os.Bundle;
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
import android.view.View;
|
||||
import android.widget.Toast;
|
||||
@ -74,7 +75,7 @@ public final class DirectMessageThread extends BaseLanguageActivity {
|
||||
for (int i = 0; i < users.length; ++i) {
|
||||
users[i] = result.getUsers()[i].getUsername();
|
||||
}
|
||||
dmsBinding.toolbar.toolbar.setSubtitle(String.join(", ", users));
|
||||
dmsBinding.toolbar.toolbar.setSubtitle(TextUtils.join(", ", users));
|
||||
|
||||
final int oldSize = directItemModels.size();
|
||||
final List<DirectItemModel> itemModels = Arrays.asList(result.getItems());
|
||||
|
Loading…
Reference in New Issue
Block a user