在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:doorbell开源软件地址:https://gitee.com/belinwu/doorbell开源软件介绍:DoorbellA simple library to start activities or call callbacks with condition in your Android apps. This is an alpha library until V1.0.0 is released. DO NOT USE THIS LIBRARY IN PRODUCTION. DownloadDoorbell is available on jCenter. Gradle: compile 'com.wujilin.doorbell:doorbell:0.3.0' How do I use Doorbell?Checkout the Developer Document for more details and APIs. Start a ActivityDoorbell.with(activity) .start(AnthorActivity.class) .condition(boolean) // Optional .ring(); When the optional condition is passed, Call a CallbackDoorbell.create(condition).ring(OnAllowListener); When the condition is passed, Ring a DoorDoorbell.ring(Door); When the condition of the door is passed, Android SDK VersionDoorbell requires a minimum SDK version of 10. Dependenciescompile 'com.android.support:support-v4:23.1.0'compile 'com.android.support:support-annotations:23.1.0' Release HistoryCheckout the CHANGELOG file. LicenseThe MIT Lisense. Copyright (c) 2015 Belin Wu. |
请发表评论