프로젝트
GitHub에서 보기
theapache64/faded
소개
✨ 고객이 아직 결제하지 않았나요? UI 컴포넌트에 투명도를 적용하고 매일 낮춰 앱이 완전히 사라지게 하세요.
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original
Client did not pay?
Add opacity to UI components and decrease it every day until their app completely fades away. Set a due date and customize the number of days you offer them until the app is fully vanished.
/*You can change these variables as you wish */
Faded.init(
dueDate = "2020-19-01", // yyyy-MM-dd
daysDeadline = 30
)
Installation
implementation 'com.theah64.faded:faded.1.1.0'
Usage
/*In your application class, init faded like this*/
class App : Application() {
override fun onCreate() {
super.onCreate()
Faded.init(
dueDate = "2020-19-01", // yyyy-MM-dd
daysDeadline = 30
)
}
}
/*In your activities, wrap the base context with Faded */
class MainActivity : AppCompatActivity() {
override fun attachBaseContext(newBase: Context?) {
super.attachBaseContext(Faded.wrap(newBase!!))
}
}
That's it!
Author
Inspired from github (@kleampa)
Made by theapache64
관련 프로젝트 살펴보기
불러오는 중…