Skip to main content

UnPeekLiveData

github.com

UnPeekLiveData 是一个解决 Android LiveData 数据倒灌问题的库,通过延时自动清理消息的设计,确保消息被多个观察者消费且不会内存泄漏,同时遵循开闭原则。

Developer Tools & APIsOpen source#android#livedata#java
Visit website
UnPeekLiveData preview

UnPeekLiveData 通过 独创的 “延时自动清理消息” 的设计,来满足:> 1.消息被分发给多个观察者时,不会因第一个观察者消费了而直接被置空> 2.时限到了,消息便不再会被倒灌> 3.时限到了,消息自动从内存中清理释放> 4.使非入侵的设计成为可能,并最终结合官方 SingleLiveEvent 的设计实现了 遵循开闭原则的非入侵重写。https://github.com/KunMinX/UnPeekLiveData

More in Developer Tools & APIs

SolveHub

API for CAPTCHA and anti-bot tasks in authorized testing

Dev Tools ·

liarjs.dev

Scanner that cross-checks browser JavaScript fingerprint against network layer

Dev Tools ·

AntiBrow

Antidetect browser for managing multiple browser identities with real-device

Dev Tools ·

HostlessWP

Open source CLI to move WordPress to Cloudflare Workers

Dev Tools ·

deed.page

Permanent web hosting with an API for AI agents

Dev Tools ·

Rowflare

Open-source Airtable alternative running on your Cloudflare account

Dev Tools ·