Fix multiple summary generation
This commit is contained in:
parent
aa99543f48
commit
4001e8d094
@ -135,7 +135,7 @@ public class Summary extends Fragment {
|
||||
}
|
||||
});
|
||||
|
||||
updateTitle();
|
||||
//updateTitle();
|
||||
|
||||
updateAll(true);
|
||||
|
||||
@ -495,7 +495,8 @@ public class Summary extends Fragment {
|
||||
protected void onPostExecute(Void result)
|
||||
{
|
||||
refreshLayout.setRefreshing(false);
|
||||
refreshCurrencyList();
|
||||
//refreshCurrencyList();
|
||||
adaptView();
|
||||
handler.removeCallbacks(updateRunnable);
|
||||
}
|
||||
}
|
||||
@ -632,6 +633,7 @@ public class Summary extends Fragment {
|
||||
@Override
|
||||
public void onSuccess(Currency currency) {
|
||||
countCoins(true, false);
|
||||
Log.d("coinfolio", "History " + currency.getSymbol());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -111,6 +111,7 @@ public class Currency implements Parcelable {
|
||||
}
|
||||
else
|
||||
{
|
||||
Log.d("coinfolio", "Error for : " + symbol);
|
||||
value = NULL;
|
||||
}
|
||||
|
||||
|
@ -253,7 +253,6 @@ public class HomeLayoutGenerator {
|
||||
List<CurrencyDataChart> dataChartList = currency.getHistoryMinutes();
|
||||
ArrayList<Entry> values = new ArrayList<>();
|
||||
|
||||
Log.d("coinfolio", "Generating data for " + currency.getSymbol());
|
||||
for(int i = 0; i < dataChartList.size(); i+=10)
|
||||
{
|
||||
values.add(new Entry(i, (float) dataChartList.get(i).getOpen()));
|
||||
|
Loading…
Reference in New Issue
Block a user