反应原生的动画紧张动作

时间:2016-04-04 21:44:56

标签: ios performance animation react-native

我正在试图找出为什么我的动画如此紧张。我正在使用动画库并转换视图的y位置。我即将在屏幕上添加大约30-40个此类视图,但担心整体抖动表现。即使在我的iphone 6 +上,动作也会奇怪地跳起来。

这是一个游乐场文件,看看我的意思:

https://rnplay.org/apps/1TT9ew

1 个答案:

答案 0 :(得分:0)

你需要放松。

public class NoteTag{ 

    [Key]
    public virtual Note Note { get; set; }
    [Key]
    public virtual Tag Tag { get; set; }
}


public class Note {

protected Note() 
   {
     Tags = new List<NoteTag>()     
   }
   [Key]
   public int Id { get; set; }
   public virtual  List<NoteTag> Tags { get; set; }
}


public class Tag {

 protected Tag()
    {
      Notes= new List<NoteTag>()        
    }
    [Key]
    public int Id { get; set; }
    public virtual  List<NoteTag> Notes { get; set; }
}