Skip to content

oovvoo/AosLib

Repository files navigation

AosLib

AosUtils.PrefManager 안드로이드 기기에 데이터 저장

지원되는 Type

  1. 기본자료형(String,int,boolean 등)
  2. ArrayList
  3. Bitmap 이미지

ex) 사용예

PrefManager.setBitmap(getApplicationContext(),{key},{BitmapImage});

Bitmap bitmap = PrefManager.getBitmap(getApplicationContext(),{key});


ex) 사용예

AosLib.UIUtils.setRainbowTextView(textView);

  • 텍스트가 무지개로 변함

AosLib.UIUtils.setRainbowTextView(test,new int[]{Color.MAGENTA,Color.BLUE,Color.YELLOW,Color.WHITE});

  • 텍스트가 원하는 색상으로 순환

적용방법

build.gradle - project


allprojects {
    repositories {
        google()
        jcenter()
        maven { url 'https://jitpack.io' }
    }
}

build.gradle - module


dependencies {
    implementation 'com.github.oovvoo:AosLib:0.0.4'
}

About

안드로이드 유틸리티

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages