Posts
-
MultiItem
一个优雅的实现多类型的RecyclerView类库 支持DataBinding Form表单录入 跨多个RecyclerView拖动
RecyclerView是一个大家常用的列表控件,在列表中不免会出现多种类型的布局,这时adapter中多种类型的判断就会充满着switch的坏味道,可怕的是需求变更,增加或修改新的类型时,所有的改动都在adapter中进行,没有一个良好的扩展性。MutliItem主要就是解决这些问题,提供了多类型和ViewHolder创建绑定的管理器,自动进行item type的计算,这样Adapter通过依赖倒置与列表中的多类型解耦,还提高了扩展性。有以下特点:- 直接使用业务中的实体类为
RecyclerView Adapter设置数据源,不需要做任何封装 RecyclerView Adapter零编码,解放了复杂的Adapter类- 支持
DataBinding,让你清爽的编写列表代码 - 支持Form表单录入,懒加载易复用,支持
DataBinding、隐藏域、输入内容验证及是否变化 - 支持
HeaderFooter和 下拉刷新 加载更多 - 支持
Item滑动动画 - 支持空白、错误等状态页的展示
Tags: #java • recyclerview • android
- 直接使用业务中的实体类为
-
Croller
A circular seekbar for Android, with a control knob! (for the lack of a better word).
Just add the following dependency in your app’s
build.gradledependencies { compile 'com.sdsmdg.harjot:croller:1.0.7' }Tags: #java • circular • seekbar
-
skandha
A modular typescript implementation of ERC4337 (Account Abstraction) bundler client.
Install Skandha | Chains supported | UserOp Fee history
Tags: #typescript • account-abstraction • bundler
-
geared_pagination
Paginate Active Record sets at variable speeds
Most pagination schemes use a fixed page size. Page 1 returns as many elements as page 2. But that’s frequently not the most sensible way to page through a large recordset when you care about serving the initial request as quickly as possible. This is particularly the case when using the pagination scheme in combination with an infinite scrolling UI.
Geared Pagination allows you to define different ratios. By default, we will return 15 elements on page 1, 30 on page 2, 50 on page 3, and 100 from page 4 and forward. This has proven to be a very sensible set of ratios for much of the Basecamp UIs. But you can of course tweak the ratios, use fewer, or even none at all, if a certain page calls for a fixed-rate scheme.
On JSON actions that set a page, we’ll also automatically set Link and X-Total-Count headers for APIs to be able to page through a recordset.
Tags: #ruby
-
stripe-ruby-mock
A mocking library for testing stripe ruby
- Homepage: https://github.com/stripe-ruby-mock/stripe-ruby-mock
- Issues: https://github.com/stripe-ruby-mock/stripe-ruby-mock/issues
- CHAT: https://gitter.im/rebelidealist/stripe-ruby-mock
Tags: #ruby
-
jobrunr
An extremely easy way to perform background processing in Java. Backed by persistent storage. Open and free for commercial use.
BackgroundJob.enqueue(() -> System.out.println("This is all you need for distributed jobs!"));Incredibly easy way to perform fire-and-forget, delayed, scheduled and recurring jobs inside Java applications using only Java 8 lambda’s. CPU and I/O intensive, long-running and short-running jobs are supported. Persistent storage is done via either RDBMS (e.g. Postgres, MariaDB/MySQL, Oracle, SQL Server, DB2 and SQLite) or NoSQL (ElasticSearch, MongoDB and Redis).
JobRunr provides a unified programming model to handle background tasks in a reliable way and runs them on shared hosting, dedicated hosting or in the cloud (hello Kubernetes) within a JVM instance.
Tags: #java • java-8 • background-jobs
-
GESI
Google Sheets™ ESI Add-on
Google Sheets™ add-on for interacting with EVE ESI API. GESI provides an EVE Online SSO flow to authorize your character(s), as well as a wrapper around ESI in order to access your EVE Online data within Google Sheets™; much like
=importXML()worked with the old XML API.Tags: #typescript • eve • eve-online
-
nanoid.rb
Ruby implementation of Nanoid, secure URL-friendly unique ID generator
This is ReadMe for version 2.0, if you looking for version compatible with NanoID 1.x look in branch v1.x.
A tiny, secure URL-friendly unique string ID generator.
Ruby implementation of original NanoID https://github.com/ai/nanoid
Tags: #ruby
-
WebAuthn
A simple PHP WebAuthn (FIDO2) server library
A simple PHP WebAuthn (FIDO2) server library
Goal of this project is to provide a small, lightweight, understandable library to protect logins with passkeys, security keys like Yubico or Solo, fingerprint on Android or Windows Hello.
Tags: #php • webauthn • fido2
-
quickbooks-php
QuickBooks Integration for PHP
-
QuickBooks FOR WINDOWS (via QuickBooks Web Connector) - read the quick start guide for the Web Connector/QuickBooks for Windows
-
QuickBooks ONLINE (via Intuit Partner Platform/Intuit Anywhere) - read the [quick start guide for Intuit Partner Platform/QuickBooks Online] (http://www.consolibyte.com/docs/index.php/PHP_DevKit_for_QuickBooks_-_Intuit_Partner_Platform_Quick-Start)
Tags: #php
-
subscribe via RSS