摘要: https://www.kotlincn.net/docs/reference/generics.html 关于泛型的官方解释 网上好多关于Kotlin的发型 基本都是copy 上边链接里的内容 我下边找了一篇其他的讲解: Generics in Kotlin Last modified: Nove 阅读全文
posted @ 2019-01-18 17:31 ITeer 阅读(833) 评论(0) 推荐(0) 编辑
摘要: http://developer.android.com/guide/practices/screens_support.html#screen-independence这个页面里边。Best PracticesThe objective of supporting multiple screens... 阅读全文
posted @ 2013-04-10 15:00 ITeer 阅读(375) 评论(0) 推荐(0) 编辑
摘要: http://developer.android.com/training/articles/perf-jni.htmlJNI tipsJNI TipsIN THIS DOCUMENTJavaVM and JNIEnvThreadsjclass, jmethodID, and jfieldIDLocal and Global ReferencesUTF-8 and UTF-16 StringsPrimitive ArraysRegion CallsExceptionsExtended CheckingNative Libraries64-bit ConsiderationsUnsupporte 阅读全文
posted @ 2013-04-10 14:58 ITeer 阅读(1034) 评论(0) 推荐(0) 编辑
摘要: http://developer.android.com/guide/practices/tablets-and-handsets.html官方链接地址The Android platform runs on a variety of screen sizes and the system gracefully resizes your application's UI to fit each one. Typically, all you need to do is design your UI to be flexible and optimize some elements fo 阅读全文
posted @ 2013-04-10 14:42 ITeer 阅读(116) 评论(0) 推荐(0) 编辑
摘要: You will get all the functionality ofActivityfromFragmentActivity. Also you will get more options inFragmentActivity. For details please refer toclick here. UsingFragmentActivityyou can easily buildtab and swapformat. Please remember for each tab you can use differentFragment. TheseFragmentsare reus 阅读全文
posted @ 2013-04-05 16:21 ITeer 阅读(673) 评论(0) 推荐(0) 编辑
摘要: ServiceextendsContextWrapperimplementsComponentCallbacks2java.lang.Object↳android.content.Context↳android.content.ContextWrapper↳android.app.ServiceKnown Direct SubclassesAbstractInputMethodService,AccessibilityService,DreamService,IntentService,RecognitionService,RemoteViewsService,SpellCheckerServ 阅读全文
posted @ 2013-04-01 23:03 ITeer 阅读(339) 评论(0) 推荐(0) 编辑
摘要: <:article id=post-379 class="post-379 lab type-lab status-publish hentry" sizset="false" sizcache01251169072484874="91 208 17">Managing State in an Android ActivityFlo McCubbin 总结: 翻译完这段老外写的东西 其实有些地方和android developers上说的不太一样 但是有些地方还是挺有收获的 但是我还咩有测试(比如说A activity 保 阅读全文
posted @ 2013-03-28 23:02 ITeer 阅读(238) 评论(0) 推荐(0) 编辑
摘要: Supporting Multiple ScreensAndroid runs on a variety of devices that offer different screen sizes and densities. For applications, the Android system provides a consistent development environment across devices and handles most of the work to adjust each application's user interface to the scree 阅读全文
posted @ 2013-03-24 00:08 ITeer 阅读(327) 评论(0) 推荐(0) 编辑
摘要: Supporting Different DensitiesPREVIOUSNEXT支持不同密度This lesson shows you how to support different screen densities by providing different resources and using resolution-independent units of measurements.这一课 讲解使用不同资源文件夹下不同文件夹内的图片资源支持不同密度的手机Use Density-independent Pixels 使用dp单位One common pitfall you must 阅读全文
posted @ 2013-03-23 19:01 ITeer 阅读(342) 评论(0) 推荐(0) 编辑
摘要: A Service is an application component that can perform long-running operations in the background and does not provide a user interface. Another application component can start a service and it will continue to run in the background even if the user switches to another application. Additionally, a co 阅读全文
posted @ 2013-03-03 18:18 ITeer 阅读(882) 评论(0) 推荐(0) 编辑