5 个仓库
Binding user interface events directly to class methods to avoid anonymous inner classes.
Distinct from Framework Bindings: Focuses on method-level callbacks for events, not general framework-to-component bridges.
Explore 5 awesome GitHub repositories matching user interface & experience · Method Callback Binding. Refine with filters or upvote what's useful.
ButterKnife is an Android view binding library and Java annotation processor that automates the linking of UI elements and resources to class fields and methods. It functions as a system for managing view references and event listeners to reduce repetitive setup code in Android applications. The library uses compile-time code generation to replace manual view lookups and type casting with generated helper classes, ensuring a reflection-free runtime. It differentiates itself by providing mechanisms for binding interaction events directly to methods, eliminating the need for anonymous inner cla
Connects user interface events to specific functions to eliminate the need for repetitive anonymous inner classes.
billboard.js is a JavaScript charting library built on D3.js that renders interactive data visualizations from a single declarative configuration object. It supports a wide range of chart types including bar, line, pie, scatter, area, spline, step, candlestick, funnel, gauge, heatmap, radar, polar, treemap, bubble, donut, and sparkline charts, and can overlay multiple chart types within a single visualization. The library offers an opt-in Canvas rendering mode for improved performance with large datasets and high-density axis displays, alongside its standard SVG-based rendering. The library d
Binds all callback options to the current chart instance by default, removing the need for a separate context parameter.
u2020 is an example Android application that demonstrates how to wire together application components using compile-time dependency injection, annotation-driven view binding, and a slide-out debug drawer. The project serves as a real-world showcase for integrating Dagger for dependency injection and Butter Knife for view binding, both of which generate code at compile time rather than relying on runtime reflection. The application features an in-memory mock server that simulates backend responses using static data, enabling development and testing without a live network. A debug drawer overla
Attaches a method to a non-default callback of a multi-method listener interface.
core-decorators 是一个 JavaScript 类装饰器库和框架实用程序,用于扩展类功能。它提供了一系列工具,用于实现类行为混入 (mixins)、自动绑定方法以避免手动构造函数配置,以及验证子类方法是否正确覆盖父类方法。 该库包括一个代码弃用工具包,用于通过控制台警告标记过时的方法,以及一个用于测量性能和持续时间的函数执行分析器。它进一步通过自定义装饰器和共享逻辑注入系统,实现了对类和方法行为的修改。 其他功能涵盖对象属性控制,包括强制执行只读属性和限制属性可见性。该工具包还提供性能原语,例如结果缓存和延迟属性初始化,以将执行推迟到首次访问时。
Ensures class methods maintain a permanent reference to the class instance without requiring manual constructor binding.
MvvmCross 是一个 .NET MVVM 框架,旨在通过将业务逻辑与原生用户界面分离来构建跨平台应用。它充当导航引擎和 UI 数据绑定库,能够将逻辑封装在可在不同操作系统间复用的视图模型(View Models)中。 该框架提供了原生硬件抽象层和依赖注入容器,用于解耦组件并为访问设备功能提供统一接口。它协调原生屏幕之间的类型安全转换,并通过属性更改通知管理共享逻辑类与原生 UI 组件之间的数据同步。 该项目涵盖了广泛的功能,包括应用生命周期管理、URI 深度链接和控制反转(IoC)服务注册。它还包含用于国际化、通过弱引用事件聚合器进行发布-订阅消息传递的工具,以及针对传感器、地理位置和生物识别认证的硬件集成功能。
Binds user interface events directly to logic methods to bypass the need for command properties.