Trigger

General

Category
Free
Tag
Design Patterns
License
Apache License, Version 2.0
Min SDK
1 (Android 1.0)
Registered
May 25, 2016
Favorites
0
Link
https://github.com/blipinsk/Trigger
See also
JPatterns
Nucleus
ThirtyInch
Moxy
Auster

Additional

Language
Java
Version
1.0.0 (May 24, 2016)
Created
May 23, 2016
Updated
Apr 24, 2021 (Retired)
Owner
Bartek Lipinski (blipinsk)
Contributor
Bartek Lipinski (blipinsk)
1
Activity
Badge
Generate
Download
Source code

DEPRECATED

This is pretty much useless, when we have lambdas.

No new development will be taking place. This library will not be maintained.

Thanks for all the support!!!

Trigger

Simple command pattern helper class.

Let's be honest... that's just a simple class, but it can sometimes tidy up your code quite a bit. It uses java generics and intuitive class naming, so you can easily create a method reference or just a callback, just like you wanted.

Usage

Check USAGE.md

Developed by

  • Bartosz Lipiński

License

Copyright 2016 Bartosz Lipiński

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.