摘要:
Sending Operations to Multiple Threads Sending Operations to Multiple Threads 1.Dependencies and prerequisites Android 3.0 (API Level 11) or higher Lo 阅读全文
摘要:
1.官方文档 https://docs.oracle.com/javase/tutorial/java/generics/restrictions.html Cannot Instantiate Generic Types with Primitive Types Cannot Create Ins 阅读全文
摘要:
1.官方文档 https://docs.oracle.com/javase/tutorial/java/generics/bounded.html 2.作用 有时候为减少不必要的转换和运行时错误发生。可以对泛型形参使用 extends X 语句,指定泛型实参必需为X及其子类,那么潜在的错误在编译时就 阅读全文
摘要:
1.官方文档 首页 https://docs.oracle.com/javase/tutorial/java/generics/index.html generic type type parameter(type variable) type argument parameterized type 阅读全文
摘要:
1.重点 a.要在新线程中发起HTTP请求 b.注意先检查网络连接 c.注意返回的结果,有的需要处理header d.返回的数据通常要转码 1.重点 a.要在新线程中发起HTTP请求 b.注意先检查网络连接 c.注意返回的结果,有的需要处理header d.返回的数据通常要转码 2.相关 Trans 阅读全文
摘要:
ToastsIN THIS DOCUMENTThe BasicsPositioning your ToastCreating a Custom Toast View在其它线程中启动ToastKEY CLASSES ToastA toast provides simple feedback abou... 阅读全文
摘要:
1.Class Overview An URLConnection for HTTP (RFC 2616) used to send and receive data over the web. Data may be of any type and length. This class may b 阅读全文
该文被密码保护。 阅读全文
摘要:
1.官方资料 官网: http://groups.google.com/group/google-gson 代码: https://github.com/google/gson jar包下载: http://search.maven.org/#artifactdetails%7Ccom.google 阅读全文
摘要:
HTML/XML转义字符对照表 HTML/XML转义字符对照表包含符号、数学符号、希腊字母 、重要的国际标志、ISO 8859-1 (Latin-1)字符集、特殊符号等。 HTML/XML转义字符对照表 HTML/XML转义字符对照表包含符号、数学符号、希腊字母 、重要的国际标志、ISO 8859- 阅读全文
摘要:
1.定义null处理类 1 class StringConverter : JsonSerializer<String?>, 2 JsonDeserializer<String?> { 3 override fun serialize( 4 src: String?, typeOfSrc: Type 阅读全文
摘要:
1.代码 1 class NotifyAlertDlg (var callback : ((dlg : NotifyAlertDlg) -> Unit)? = null): DialogFragment() { 2 3 lateinit var binding : NotifyAlertBindin 阅读全文
摘要:
A list of the standard attributes that you can use in themes can be found atR.styleable.Theme.ConstantsAbsListView_cacheColorHintIndicates that this l... 阅读全文
摘要:
The Android platform provides a large collection of styles and themes that you can use in your applications. You can find a reference of all availab... 阅读全文