mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Remove TODOs
This commit is contained in:
parent
0b71f7b017
commit
9cea643faa
2 changed files with 1 additions and 3 deletions
|
|
@ -64,7 +64,6 @@ public class NearbyListFragment extends ListFragment {
|
|||
return view;
|
||||
}
|
||||
|
||||
//TODO: Do asynchronously
|
||||
@Override
|
||||
public void onViewCreated(View view, Bundle savedInstanceState) {
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ public class NearbyPlaces {
|
|||
else {
|
||||
try {
|
||||
places = new ArrayList<Place>();
|
||||
// TODO Load in a different thread and show wait dialog
|
||||
StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();
|
||||
StrictMode.setThreadPolicy(policy);
|
||||
|
||||
|
|
@ -35,7 +34,7 @@ public class NearbyPlaces {
|
|||
|
||||
//TODO: Remove limit of lines after get AsyncTask done
|
||||
//while ((line = in.readLine()) != null) {
|
||||
while (in.readLine() != null && counter < 100) {
|
||||
while (in.readLine() != null && counter < 500) {
|
||||
|
||||
line = in.readLine();
|
||||
counter++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue