Skip to content

Latest commit

 

History

History
110 lines (91 loc) · 1.5 KB

Detail.md

File metadata and controls

110 lines (91 loc) · 1.5 KB

2.1 工具库的类

AppUtils

FileUtils

Platform

ProcessUtils

RetryWithDelay

RxJavaUtils

SAFUtils

SDCardUtils

ShellUtils

ToastUtils

2.2 扩展库的扩展方法、扩展属性

Boolean

  • then()

Bundle

  • put()

Context

  • dp2px()
  • sp2px()
  • px2dp()
  • dimen2px()
  • string()
  • color()
  • inflateLayout()
  • getAppVersion()
  • getAppVersionCode()
  • getPackageName()

Throwable

  • getStackTraceText()

Closeable

  • closeQuietly()
  • use()

Object

  • TAG()

SystemService

  • accessibilityManager
  • accountManager
  • activityManager
  • alarmManager
  • appWidgetManager()
  • appOpsManager()
  • audioManager
  • batteryManager()
  • bluetoothAdapter()
  • cameraManager()
  • captioningManager()
  • clipboardManager
  • connectivityManager
  • consumerIrManager()
  • devicePolicyManager
  • displayManager()
  • downloadManager
  • dropBoxManager
  • inputMethodManager
  • inputManager()
  • jobScheduler()
  • keyguardManager
  • launcherApps()
  • layoutInflater
  • locationManager
  • mediaProjectionManager()
  • mediaRouter()
  • mediaSessionManager()
  • nfcManager
  • notificationManager
  • nsdManager()
  • powerManager
  • printManager()
  • restrictionsManager()
  • searchManager
  • sensorManager
  • storageManager
  • telecomManager()
  • telephonyManager
  • textServicesManager
  • tvInputManager()
  • uiModeManager
  • usbManager
  • userManager()
  • vibrator
  • wallpaperService
  • wifiP2pManager
  • wifiManager
  • windowService

View

  • hideKeyboard()
  • showKeyboard()
  • click()
  • clickWithTrigger()
  • longClick()
  • toBitmap()