zoukankan      html  css  js  c++  java
  • 开发小Tips

    Kotlin语言篇:

    1、抽象类的定义

     1 abstract class Person(var name : String, var age : Int) : Any() {
     2 
     3     abstract var addr : String
     4     abstract val weight : Float
     5 
     6     abstract fun doSwim()
     7 
     8     fun doFly() {
     9         println("doFly")
    10     }
    11 
    12     fun doEach() {
    13         println("doEach")
    14     }
    15 }

     2、去掉标题栏

     1     <application
     2         android:allowBackup="true"
     3         android:icon="@mipmap/ic_launcher"
     4         android:label="@string/app_name"
     5         android:roundIcon="@mipmap/ic_launcher_round"
     6         android:supportsRtl="true"
     7         android:theme="@style/Theme.AppCompat.Light.NoActionBar">
     8         <activity android:name=".activity.SplashActivity">
     9             <intent-filter>
    10                 <action android:name="android.intent.action.MAIN" />
    11 
    12                 <category android:name="android.intent.category.LAUNCHER" />
    13             </intent-filter>
    14         </activity>
    15     </application>
  • 相关阅读:
    虚拟用户图分析
    概要图分析
    服务器资源监控视图
    场景监控之基本信息
    controller场景设计
    ip欺骗
    面试准备
    性能测试
    (一)总结
    bug的描述
  • 原文地址:https://www.cnblogs.com/yanyojun/p/8168433.html
Copyright © 2011-2022 走看看