You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the following method to load Table, and the error The specified child already has a parent. You must call removeView() is reported. After checking the source code, it is found that the source code inserts the TextView inside the ConstraintLayout into the TableRow through addView.
java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
at android.view.ViewGroup.addViewInner(ViewGroup.java:5259)
at android.view.ViewGroup.addView(ViewGroup.java:5090)
at android.view.ViewGroup.addView(ViewGroup.java:5030)
at android.view.ViewGroup.addView(ViewGroup.java:5003)
at io.noties.markwon.recycler.table.TableEntry.ensureTextView(TableEntry.java:325)
at io.noties.markwon.recycler.table.TableEntry.bindHolder(TableEntry.java:174)
at io.noties.markwon.recycler.table.TableEntry.bindHolder(TableEntry.java:36)
at io.noties.markwon.recycler.MarkwonAdapterImpl.onBindViewHolder(MarkwonAdapterImpl.java:85)
at io.noties.markwon.recycler.MarkwonAdapterImpl.onBindViewHolder(MarkwonAdapterImpl.java:17)
at androidx.recyclerview.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:7747)
at androidx.recyclerview.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:7847)
at androidx.recyclerview.widget.RecyclerView$Recycler.tryBindViewHolderByDeadline(RecyclerView.java:6646)
at androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6917)
Use the following method to load Table, and the error
The specified child already has a parent. You must call removeView()
is reported. After checking the source code, it is found that the source code inserts the TextView inside the ConstraintLayout into the TableRow through addView.java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
at android.view.ViewGroup.addViewInner(ViewGroup.java:5259)
at android.view.ViewGroup.addView(ViewGroup.java:5090)
at android.view.ViewGroup.addView(ViewGroup.java:5030)
at android.view.ViewGroup.addView(ViewGroup.java:5003)
at io.noties.markwon.recycler.table.TableEntry.ensureTextView(TableEntry.java:325)
at io.noties.markwon.recycler.table.TableEntry.bindHolder(TableEntry.java:174)
at io.noties.markwon.recycler.table.TableEntry.bindHolder(TableEntry.java:36)
at io.noties.markwon.recycler.MarkwonAdapterImpl.onBindViewHolder(MarkwonAdapterImpl.java:85)
at io.noties.markwon.recycler.MarkwonAdapterImpl.onBindViewHolder(MarkwonAdapterImpl.java:17)
at androidx.recyclerview.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:7747)
at androidx.recyclerview.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:7847)
at androidx.recyclerview.widget.RecyclerView$Recycler.tryBindViewHolderByDeadline(RecyclerView.java:6646)
at androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6917)
layout_markdown_entry.xml
The text was updated successfully, but these errors were encountered: