Skip to content

Commit 2384d19

Browse files
author
Alexander Vakrilov
committed
Merge pull request NativeScript#250 from NativeScript/feature/list-view-black-rows
Fix issue with black random black items when scrolling
2 parents 91c1d5e + 96c0a52 commit 2384d19

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ui/list-view/list-view.android.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ export class ListView extends common.ListView {
3939
public _createUI() {
4040
this._android = new android.widget.ListView(this._context);
4141

42+
// Fixes issue with black random black items when scrolling
43+
this._android.setCacheColorHint(android.graphics.Color.TRANSPARENT);
4244
if (!this._androidViewId) {
4345
this._androidViewId = android.view.View.generateViewId();
4446
}

0 commit comments

Comments
 (0)