Nova-baseshop-ShopInfoFragment
2016-08-23 16:44:46 0 举报
Nova-baseshop-ShopInfoFragment是一个用于展示商店信息的片段类。它主要用于在移动应用程序中显示商家的详细信息,如名称、地址、联系方式、营业时间等。通过这个片段,用户可以方便地了解到商店的基本信息,从而做出是否光顾的决定。此外,Nova-baseshop-ShopInfoFragment还支持用户对商店进行评价和分享,以便其他用户参考。总之,Nova-baseshop-ShopInfoFragment是一个实用且功能丰富的商店信息展示工具,旨在为用户提供更好的购物体验。
作者其他创作
大纲/内容
getDefaultAgentList
onDestroy()
在AgentFragment中只是得到第一个AgentListConfig对象,所以这个对象的构建是主要任务
sendShopRequest()、sendAddWifiRequest()、打点设置
如果Shop为null
onRequestFinish
构建AgentListConfig
generaterDefaultConfigAgentList()
添加额外的agent
AgentFragment
两种action:addreview和uploadphoto
配置cooperationInfo和action
获取主布局:mFragmentView获取其余布局:如ScrollView,titleView、topContainer等
ShopInfoFragment
onCreate()
sendShopRequest()
dispatchCellChanged
获取相关的跳转数据和参数,如Shop
回调ShopInfoFragment的的覆写方法
在getShopInfoAgent方法中会调用getLocalConfigList方法(如果AgentHelpler.getAgentList返回为空的情况下)
返回一个ArrayList
onCreateView()
resetAgents(null)
执行HashMap的put方法,放入agent的name和Class
gotoAction()
setDefaultAgent
onRequestStart、onRequestProgress、onRequestFinishonRequestFailed
sendAddWifiRequest()
1、showContent()2、处理shopRequest:得到Shop数据、启动MESSAGE_SHOP_READY的intnet
dispatchAgentChanged
onActivityCreated()
getShopInfoAgent会获取有关shopinfo显示的agent,且进行分组与排序
获取ShopInfoFragme配置nt需要进行显示的各种agent
setupAgents()
0 条评论
下一页