Remove TODOs

This commit is contained in:
misaochan 2016-08-30 19:08:41 +12:00
parent 0b71f7b017
commit 9cea643faa
2 changed files with 1 additions and 3 deletions

View file

@ -64,7 +64,6 @@ public class NearbyListFragment extends ListFragment {
return view; return view;
} }
//TODO: Do asynchronously
@Override @Override
public void onViewCreated(View view, Bundle savedInstanceState) { public void onViewCreated(View view, Bundle savedInstanceState) {

View file

@ -21,7 +21,6 @@ public class NearbyPlaces {
else { else {
try { try {
places = new ArrayList<Place>(); places = new ArrayList<Place>();
// TODO Load in a different thread and show wait dialog
StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build(); StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();
StrictMode.setThreadPolicy(policy); StrictMode.setThreadPolicy(policy);
@ -35,7 +34,7 @@ public class NearbyPlaces {
//TODO: Remove limit of lines after get AsyncTask done //TODO: Remove limit of lines after get AsyncTask done
//while ((line = in.readLine()) != null) { //while ((line = in.readLine()) != null) {
while (in.readLine() != null && counter < 100) { while (in.readLine() != null && counter < 500) {
line = in.readLine(); line = in.readLine();
counter++; counter++;