Skip to content
Tagged articles

Repeat

3 articles · Page 1 of 1
51CTO HarmonyOS Developer Community
51CTO HarmonyOS Developer Community
Sep 23, 2026 · Mobile Development

Eliminate HarmonyOS Scroll White Blocks: Dynamic Prefetch + ImageKnife Caching

This article presents a complete HarmonyOS solution for eliminating white blocks during fast scrolling in image-heavy lists by combining dynamic prefetching via the prefetcher library with ImageKnife image caching, demonstrating two implementations using LazyForEach and Repeat components with performance benchmarks showing under 5% white block rate and minimal memory overhead.

ArkUIHarmonyOSImageKnife
0 likes · 20 min read
Eliminate HarmonyOS Scroll White Blocks: Dynamic Prefetch + ImageKnife Caching
Laravel Tech Community
Laravel Tech Community
Sep 24, 2020 · Backend Development

PHP str_repeat Function – Repeating a String

The article explains PHP's str_repeat function, which repeats a given string a specified number of times, details its parameters, return value, usage constraints, and provides a sample code snippet demonstrating its output.

BackendFunctionRepeat
0 likes · 1 min read
PHP str_repeat Function – Repeating a String