Skip to content

1.0.3

Compare
Choose a tag to compare
@DylanCaiCoding DylanCaiCoding released this 28 Dec 04:05
· 86 commits to master since this release

File.kt

  • Add File#isExistOrCreateNewFile()
  • Add File?#isExistOrCreateNewDir()
  • Add File#createNewFileAfterDeleteExist()
  • Add File#rename(name)

MetaData.kt

  • Add applicationMetaDataOf(name)
  • Add activityMetaDataOf<T>(name)
  • Add serviceMetaDataOf<T>(name)
  • Add providerMetaDataOf<T>(name)
  • Add receiverMetaDataOf<T>(name)

Resoures.kt

  • Remove Context/View#getCompatDimen(id)
  • Add Context/View/Fragment#getDimension(id)
  • Add Fragment#getCompatColor(id)
  • Add Fragment#getCompatDrawable(id)
  • Add Fragment#getCompatFont(id)

String.kt

  • Update String#isPhone() returns whether the string is exact phone number.

View.kt

  • Deprecate View#withStyledAttrs(...)
  • Add View#withStyledAttributes(...)