awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索博客网站地图
项目关于媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
awesome-repositories.com博客
分类

7 个仓库

Awesome GitHub RepositoriesAndroid View Binding

Linking layout identifiers to class fields to avoid manual view lookups and type casting.

Distinct from Android Libraries: Candidates focus on lifecycle tracking or generic libraries; this is specifically about the binding pattern.

Explore 7 awesome GitHub repositories matching mobile development · Android View Binding. Refine with filters or upvote what's useful.

Awesome Android View Binding GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • jakewharton/butterknifeJakeWharton 的头像

    JakeWharton/butterknife

    25,364在 GitHub 上查看↗

    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

    Binds Android layout views and callbacks to fields and methods using annotations to replace manual lookups.

    Java
    在 GitHub 上查看↗25,364
  • kotlin/ankoKotlin 的头像

    Kotlin/anko

    15,784在 GitHub 上查看↗

    Anko is an Android Kotlin library designed to simplify application development through a set of domain-specific languages and extensions. It functions as a programmatic UI DSL, an SQLite wrapper, an SDK utility, and an asynchronous framework. The project provides a declarative layout system that allows developers to build user interfaces through code instead of static XML markup. It distinguishes itself by offering a fluent database layer that eliminates manual cursor management and a concurrency system that uses weak references to prevent memory leaks in activities. The library covers broad

    Links layout identifiers to class fields to avoid manual view lookups and type casting.

    Kotlin
    在 GitHub 上查看↗15,784
  • androidannotations/androidannotationsandroidannotations 的头像

    androidannotations/androidannotations

    10,981在 GitHub 上查看↗

    AndroidAnnotations is a suite of tools designed to automate the generation of repetitive boilerplate and setup code for mobile application development. It functions as a code generation tool that reduces manual effort by creating the plumbing required to initialize Android components and views. The project provides specialized frameworks for dependency injection, concurrency management, and view binding. It automates the assignment of system services, resources, and UI elements to fields and maps user interface events directly to methods to eliminate the need for anonymous listener classes.

    Links layout identifiers to class fields to avoid manual view lookups and type casting.

    Java
    在 GitHub 上查看↗10,981
  • excilys/androidannotationsexcilys 的头像

    excilys/androidannotations

    10,981在 GitHub 上查看↗

    AndroidAnnotations is a boilerplate generator and component annotation library designed for Android development. It functions as a dependency injection framework that uses custom annotations to automate the wiring of activities, fragments, and services. The project focuses on reducing manual plumbing through the automation of Android boilerplate. It provides automated solutions for dependency injection and view binding, removing the need for repetitive calls to locate UI elements or manually write factory classes. The library covers activity lifecycle management and the generation of standar

    Connects UI elements from layout files to code without requiring manual findViewById calls.

    Java
    在 GitHub 上查看↗10,981
  • airbnb/epoxyairbnb 的头像

    airbnb/epoxy

    8,556在 GitHub 上查看↗

    Epoxy is an Android library for building complex RecyclerView screens using a model-driven approach. It generates RecyclerView adapter models at compile time from annotated custom views, data binding layouts, or view holders, eliminating the manual boilerplate typically associated with view holders and adapters. The library provides a diffing engine that automatically compares model lists and applies minimal updates with animations for insertions, removals, and moves. The library distinguishes itself through its controller-based model building, where a controller class with a buildModels meth

    Binds model properties to views through generated setter methods with automatic resource handling.

    Java
    在 GitHub 上查看↗8,556
  • wyouflf/xutils3wyouflf 的头像

    wyouflf/xUtils3

    5,946在 GitHub 上查看↗

    xUtils3 is an integrated Android toolkit that combines HTTP networking, image loading, ORM database queries, and view injection into a single cohesive library. It provides annotation-driven view binding and event handling, eliminating manual view lookups by scanning Java annotations at runtime through reflection. The library includes a fluent LINQ-style ORM query builder for constructing type-safe database queries with filtering, grouping, aggregation, and pagination operations. Its HTTP networking layer supports multiple verbs, cookie management, and pluggable response parsing for structured

    Provides annotation-driven view injection and event binding to eliminate manual view lookups in Android.

    Java
    在 GitHub 上查看↗5,946
  • jakewharton/u2020JakeWharton 的头像

    JakeWharton/u2020

    5,626在 GitHub 上查看↗

    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

    Injects Android view references and resources into fields and binds event listeners using compile-time code generation.

    Java
    在 GitHub 上查看↗5,626
  1. Home
  2. Mobile Development
  3. Android View Binding

探索子标签

  • Annotation-Driven View BindingsBinds data to custom views by annotating setter methods, with automatic prop value assignment when the view appears. **Distinct from Android View Binding:** Distinct from Android View Binding: uses annotation processing on setter methods rather than layout ID-to-field mapping.
  • Declarative Event ListenersMapping of UI events to methods without implementing anonymous listener classes. **Distinct from Android View Binding:** Focuses on eliminating anonymous classes via declarative mapping rather than just linking layout IDs to fields.
  • Generated Setter BindingsBinds model properties to views through generated setter methods with automatic resource handling and state saving across recycle cycles. **Distinct from Android View Binding:** Distinct from Android View Binding: this is a generated setter-based binding system for RecyclerView models, not a general layout-to-field binding.