Skip to content
Client did not pay? Add opacity to UI components and decrease it every day until their app completely fades away. Inspired from https://github.com/kleampa/not-paid
Kotlin
Branch: master
Clone or download
Latest commit ab2fb40 Nov 14, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
.idea bintray push done Feb 14, 2019
app
faded 🚀 release-production(faded) : Ready to deploy v1.0.0 Feb 13, 2019
gradle/wrapper
.gitignore add(faded) : Project initialized Feb 10, 2019
LICENSE
README.md 📖 Updated README Feb 15, 2019
build.gradle 🚀 release-production(faded) : Ready to deploy v1.0.0 Feb 13, 2019
gradle.properties
gradlew add(faded) : Project initialized Feb 10, 2019
gradlew.bat
poster.jpg add(faded) : Added initial project files Feb 11, 2019
settings.gradle

README.md

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 = "2019-20-02",
    daysDeadline = 30
)

Installation

implementation 'com.theah64.faded:faded.1.0.0'

Usage

/*In your application class, init faded like this*/
class App : Application() {
    override fun onCreate() {
        super.onCreate()

        Faded.init(
            dueDate = "2019-20-02",
            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

You can’t perform that action at this time.