摘要:
一、概述 相较于png、jpg等位图通过存储像素点来记录图像,svg (Scalable Vector Graphics)拥有一套自己的语法,通过描述的形式来记录图形。Android并不直接使用原始的svg格式图片,而是将其转化为VectorDrawable。VectorDrawable是一个xml 阅读全文
posted @ 2019-05-10 17:21
西贝雪
阅读(2398)
评论(0)
推荐(0)
摘要:
一、概念理解 Base class for maintaining global application state. You can provide your own implementation by creating a subclass and specifying the fully-qu 阅读全文
posted @ 2019-05-10 16:45
西贝雪
阅读(1211)
评论(0)
推荐(0)
摘要:
一、Context概念理解 Google解释如下: Interface to global information about an application environment. This is an abstract class whose implementation is provided 阅读全文
posted @ 2019-05-10 16:00
西贝雪
阅读(847)
评论(1)
推荐(0)
摘要:
一、概述 一般问题:系统内部经常会出现多个类互相耦合,形成网状结构。任意一个类发生改变,所有调用者也会受到影响,造成阅读和维护困难。 核心方案:用一个中介对象来封装多个耦合对象的交互,使各对象不需要显示地互相调用,从而使其耦合松散。 设计意图:调停者是对系统内部运转的协调,是从架构设计之初就应该考虑 阅读全文
posted @ 2019-05-10 14:23
西贝雪
阅读(588)
评论(0)
推荐(0)
浙公网安备 33010602011771号