Some improvements suggested by Codacy

This commit is contained in:
2017-05-05 07:27:24 +02:00
parent c7200d06bc
commit 5bc1bc2a47
7 changed files with 90 additions and 64 deletions

View File

@@ -277,6 +277,10 @@ public class MainActivity extends AppCompatActivity
.withShowDrawerOnFirstLaunch(true)
.build();
loadDrawerItemsAsynchronously();
}
private void loadDrawerItemsAsynchronously() {
new AsyncTask<Void, Void, List<BitmessageAddress>>() {
@Override
protected List<BitmessageAddress> doInBackground(Void... params) {