fix delete animation

This commit is contained in:
Alexey Kuznetsov 2016-06-23 17:58:27 +03:00
commit 8ce9c8f50c

View file

@ -158,14 +158,14 @@ public class MainActivity extends AppCompatActivity implements AbsListView.OnScr
convertView.setTag(-1);
}
if ((int) convertView.getTag() == TYPE_DELETED) {
RemoveItemAnimation.restore(convertView);
convertView.setTag(-1);
}
final View view = convertView;
final View base = convertView.findViewById(R.id.recording_base);
if ((int) convertView.getTag() == TYPE_DELETED) {
RemoveItemAnimation.restore(base);
convertView.setTag(-1);
}
final File f = getItem(position);
TextView title = (TextView) convertView.findViewById(R.id.recording_title);