需求:搜索关键词变换情况下对view的更新
1.新建Observable

作用:通过更新supplier更新关键词
2.新建supplier

作用:提供关键词更新接口,提供result接口返回。
3.新建repositories

作用:联系数据提供者与被观察者
4.更新



作用:完成更新周期
需求:搜索关键词变换情况下对view的更新
1.新建Observable
作用:通过更新supplier更新关键词
2.新建supplier
作用:提供关键词更新接口,提供result接口返回。
3.新建repositories
作用:联系数据提供者与被观察者
4.更新
作用:完成更新周期
本文标题:android Aegra响应设计模式
本文链接:https://www.haomeiwen.com/subject/iksxpttx.html
网友评论