您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
25 行
559 B
25 行
559 B
using System.Collections.Generic;
|
|
|
|
namespace UIWidgetsSample
|
|
{
|
|
public class MessageSpacer : Equatable
|
|
{
|
|
/// Text to show in a header
|
|
public readonly string id;
|
|
|
|
public readonly float height;
|
|
|
|
/// Creates a date header.
|
|
public MessageSpacer(
|
|
float height = 0.0f,
|
|
string id = null)
|
|
{
|
|
this.id = id;
|
|
this.height = height;
|
|
}
|
|
|
|
/// Equatable props
|
|
public override List<object> props => new List<object>
|
|
{id,height};
|
|
}
|
|
}
|