@@ -175,9 +175,6 @@ public class InfinitePhotoActivity extends AppCompatActivity {
InfinitePhotoItem photoItem = mPhotoItems.get(index);
photoItemCell.setPhotoItem(photoItem);
}
-
- TextView tv = photoItemCell.findViewById(R.id.test);
- tv.setText("" + (index + 1));
@@ -68,11 +68,6 @@ public class InfinitePhotoItemCell extends RelativeLayout implements InfinitePho
if (mPhotoItem != null) {
bitmap = mPhotoItem.getImage();
- if (bitmap == null) {
- TextView tv = findViewById(R.id.test);
- tv.setText("null");
- }
mPhotoIv.setImageBitmap(bitmap);
});
@@ -11,9 +11,4 @@
android:background="#aaffaa"
/>
- <TextView
- android:id="@+id/test"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"/>
</com.usai.redant.rautils.InfinitePhoto.InfinitePhotoItemCell>