Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theapache64/faded
✨ Client did not pay? Add opacity to UI components and decrease it every day until their app completely fades away.
https://github.com/theapache64/faded
Last synced: 3 months ago
JSON representation
✨ Client did not pay? Add opacity to UI components and decrease it every day until their app completely fades away.
- Host: GitHub
- URL: https://github.com/theapache64/faded
- Owner: theapache64
- License: apache-2.0
- Created: 2019-02-11T04:03:06.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-01-19T11:28:03.000Z (almost 4 years ago)
- Last Synced: 2024-07-11T22:43:49.332Z (4 months ago)
- Language: Kotlin
- Homepage:
- Size: 317 KB
- Stars: 369
- Watchers: 4
- Forks: 28
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list - theapache64/faded - ✨ Client did not pay? Add opacity to UI components and decrease it every day until their app completely fades away. (Kotlin)
README
![](poster.jpg)
## 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.
```kotlin
/*You can change these variables as you wish */
Faded.init(
dueDate = "2020-19-01", // yyyy-MM-dd
daysDeadline = 30
)
```## Installation
```groovy
implementation 'com.theah64.faded:faded.1.1.0'
```## Usage
```kotlin
/*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