Projetos
Ver no GitHub
theapache64/faded
Sobre
✨ O cliente não pagou? Adicione transparência aos componentes da interface e aumente-a todos os dias até o aplicativo desaparecer completamente.
Desenvolvimento web e de aplicativosCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- 0
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
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
Explore projetos relacionados
Carregando…