Merge branch 'ubilabs--rcapp--feature--2467-improved-starttimefinder' into tw2015

This commit is contained in:
Axel Uhl committed 2015-07-18 10:10:52 +02:00
commit 0205ff3ab8
1 file changed
+1 -1
@@ -118,7 +118,7 @@ public class DependentRaceSpinnerAdapter implements SpinnerAdapter {
}
TextView text = ViewHolder.get(layout, android.R.id.text1);
if (text != null && mData.get(position).getRace() != null) {
if (text != null && position < mData.size() && mData.get(position).getRace() != null) {
String raceName = mData.get(position).getRace().getName();
String additional = RaceHelper.getFleetSeries(mData.get(position).getRace());
if (!TextUtils.isEmpty(additional)) {