fix delete animation
This commit is contained in:
parent
51e77da7c3
commit
8ce9c8f50c
1 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue