我是firebase的新手。如何使用firebase数据库滚动加载ionic2中的更多数据。我尝试了很多例子,但没有找到任何解决方案。
我用public class UserControllerTest
{
[Test]
public async Task TestIndex()
{
//arrange
Mock<IRequestManager> requestManager = new Mock<IRequestManager>();
//setup what you want here...
UserController sut = new UserController(requestManager.Object);//suggest to use AutoMoqer for this.
//act
var view = await sut.Index() as ActionResult;
//assert
Assert.That(view is ViewResult);
Assert.That(view.Model is List<UserViewModel>);
}
}
但没有奏效。请帮助我....
见下图。我已经要求提供以下数据。
谢谢