opentown-android-Feed - Class Diagram
2015-10-16 16:39:42 3 举报
OpenTown Android Feed 的类图主要包含以下几个部分:Feed、Post、Comment、User和Image。Feed是主类,它包含了一系列的Post对象。每个Post对象又包含了一个用户(User)的信息,以及该帖子下的评论(Comment)列表。Comment对象则包含了评论的用户(User)信息和评论的内容。此外,每个Post还可能包含一张或多张图片(Image),这些图片以URL的形式存储在Image对象中。这个类图展示了OpenTown Android Feed应用的基本数据结构和关系,包括用户发布的内容、用户的互动以及内容的展示方式。
作者其他创作
大纲/内容
Impl
回调
Callback&Parse
映射数据&持久化
TopicRequester (net)
+ loadFirstFeeds();\bvoid + loadMoreFeeds();void+ loadTopicSpectators:void+ loadNewStatement():void+ addTopic():void
跳转
\bFeedPresenter
- mView:IFeedView;
+ getFirstFeeds();\bvoid {mView.setFirstFeeds(List)}+ getMoreFeeds();void{mView.setMoreFeeds(List)}+ addFeed():void+ saveFeedListToDB():void
\bIFeedView
Extends
SpectatorModel
- joinTime:Long
BaseTopicModel
+ id:String+ title:String+ createdTime:Long
AutoRvAdapter
+ data:List+ context:Context
+ setOnItemClickListener():void
FeedActitity
AddTopicActivity
Imp
ITopicDetailView
+ setSpectatorList(List):void+ setStatements(List):void
FeedModel
- abstract:String
IAddTopicView
+ operation1(params):returnType- operation2(params)- operation3()
FeedAdapter
- views...
+ play():void
TopidDetatilPresenter
- mView:ITopicDetailView;
+ getSpectatorList():void{ mView.setSpectatorList(List)}+ updateStatement():void{ mView.setStatements(List)}+ favouriteTopic()/unFavouriteTopic:void+ reportTopic():void+ replayTopic():void+ wowTopic():void{mView.displaySpectatorList()}
BaseUserModel
- id:String- username:String- nickname:String- intro:String
StatementModel
- id:String- type:int- content:String- createdTime:Long
+ colorTransfer():void....
TopicDetatilActivity
0 条评论
下一页