Skip to content

Commit

Permalink
enable ui to see preview on complex data type
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLiuZhuoCheng authored and woody-apple committed Nov 30, 2021
1 parent dcd9a77 commit 35632e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ class ClusterDetailFragment : Fragment() {
} else {
it!!.javaClass.toString().split('$').last()
}
attributeCallbackItem.clusterCallbackDataTv.text = callbackClassName
attributeCallbackItem.clusterCallbackDataTv.text = objectString
attributeCallbackItem.clusterCallbackDataTv.setOnClickListener {
AlertDialog.Builder(requireContext())
.setTitle(callbackClassName)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
android:layout_height="wrap_content"
android:padding="16dp"
android:singleLine="false"
android:maxLines="4"
android:ellipsize="end"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/clusterCallbackTypeTv"
app:layout_constraintStart_toEndOf="@id/clusterCallbackNameTv"
Expand Down

0 comments on commit 35632e9

Please sign in to comment.