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

* commit '17b507bd0c1c4a999124b3d2ff81411fc879e13f':
  Make BrowseAnimationFragment working
This commit is contained in:
Dake Gu
2014-08-19 21:07:50 +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());
}