am efac7ff3: am 17b507bd: Merge "Make BrowseAnimationFragment working" into lmp-dev

* commit 'efac7ff378c7294dfc9a8fbea66ab9c988e54374':
  Make BrowseAnimationFragment working
This commit is contained in:
Dake Gu
2014-08-19 21:19:14 +00:00
committed by Android Git Automerger

View File

@@ -93,7 +93,7 @@ public class BrowseAnimationFragment extends
int index = adapter.indexOf(item);
if (index >= 0) {
if (index > 0)
index = 0;
index--;
adapter.removeItems(index, 1);
}
}
@@ -247,7 +247,7 @@ public class BrowseAnimationFragment extends
ListRow createRandomRow(HeaderItem header) {
ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(
new CardPresenter());
new StringPresenter());
for (int i = 0; i < 8; i++) {
listRowAdapter.add(createRandomItem());
}