java.lang.IllegalStateException: Vertically scrollable component was measured with an infinity maximum height constraints, which is disallowed. One of the common reasons is nesting layouts like LazyColumn and Column(Modifier.verticalScroll()). If you want to add a header before the list of items please add a header as a separate item() before the main items() inside the LazyColumn scope. There are could be other reasons for this to happen: your ComposeView was added into a LinearLayout with some weight, you applied Modifier.wrapContentSize(unbounded = true) or wrote a custom layout. Please try to remove the source of infinite constraints in the hierarchy above the scrolling container.

タイトルのエラーはLazyColumnやColumn(Modifier.verticalScroll())等がネストしている時に発生します。 2つネストすると確かにスクロール入力がどちらになるか分からないし、高さが決めら … 続きを読む

iBGPとIGPの違い

以下のページが分かりやすい。 iBGPとIGPはAS内のルーティングに使用される点は同一だが、 根本的にiBGPはAS間のルーティングを目的とし、 IGPはAS内のルーティングにのみ注目し、iBGPルータまでの経路を作成 … 続きを読む

Kotlinでinterface + abstract classにおいて、再起呼び出しを含む場合に呼び出しInstanceと同クラスを返り値とする関数を一箇所で記述したい

状況 以下のような状況です。compositeパターンを使用している場合に具象クラスを返答してほしい場合に(例えば、Compositeの生成途中等でまだInterfaceとして渡したくないが処理は一括したい等)、に利用し … 続きを読む