mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 20:11:24 +08:00
Merge pull request #250 from NativeScript/feature/list-view-black-rows
Fix issue with black random black items when scrolling
This commit is contained in:
@ -39,6 +39,8 @@ export class ListView extends common.ListView {
|
||||
public _createUI() {
|
||||
this._android = new android.widget.ListView(this._context);
|
||||
|
||||
// Fixes issue with black random black items when scrolling
|
||||
this._android.setCacheColorHint(android.graphics.Color.TRANSPARENT);
|
||||
if (!this._androidViewId) {
|
||||
this._androidViewId = android.view.View.generateViewId();
|
||||
}
|
||||
|
Reference in New Issue
Block a user