开发者

Multiple requests in one TTURLRequestModel

开发者 https://www.devze.com 2023-03-16 10:06 出处:网络
I was using the facebook example code of three20 as a basis for a project, and I want to have two开发者_如何学编程 url requests in my TTURLRequestModel class, so that I will only use one TTListDataSou

I was using the facebook example code of three20 as a basis for a project, and I want to have two开发者_如何学编程 url requests in my TTURLRequestModel class, so that I will only use one TTListDataSource to render my objects..

For example, a url request for the post details...

and another url request for all the comments of the post..


You need to open up TT code and make your own modifications. I don't think it's supported. One solution I can think of is that you create two models and when model finishes you add cellItems in your datasource.

0

精彩评论

暂无评论...
验证码 换一张
取 消