Skip to content

Commit

Permalink
feat: メモリの確保と解放の回数が最小になるようにした
Browse files Browse the repository at this point in the history
  • Loading branch information
pantasystem committed Nov 10, 2023
1 parent f7d80e9 commit 6d68630
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class MediaLayout : ViewGroup {

private var spaceMargin = 8
private var _visibleChildItemCount = 0
private var _visibleChildren = mutableListOf<View>()
private var _visibleChildren = ArrayList<View>(16)
private var _isOddVisibleItemCount = false

private var _height: Int = 0
Expand Down

0 comments on commit 6d68630

Please sign in to comment.