Skip to content

Commit

Permalink
解决单独使用bl_function不生效的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
qi.xiao committed Mar 9, 2023
1 parent d41ac52 commit 957d833
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ private static View setViewBackground(String name, Context context, AttributeSet
try {
if (typedArray.getIndexCount() == 0 && selectorTa.getIndexCount() == 0 && pressTa.getIndexCount() == 0
&& textTa.getIndexCount() == 0 && buttonTa.getIndexCount() == 0 && animTa.getIndexCount() == 0
&& multiSelTa.getIndexCount() == 0 && multiTextTa.getIndexCount() == 0 && textViewTa.getIndexCount() == 0) {
&& multiSelTa.getIndexCount() == 0 && multiTextTa.getIndexCount() == 0 && textViewTa.getIndexCount() == 0
&& otherTa.getIndexCount() == 0
) {
return view;
}
if (view == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ private static View setViewBackground(String name, Context context, AttributeSet
try {
if (typedArray.getIndexCount() == 0 && selectorTa.getIndexCount() == 0 && pressTa.getIndexCount() == 0
&& textTa.getIndexCount() == 0 && buttonTa.getIndexCount() == 0 && animTa.getIndexCount() == 0
&& multiSelTa.getIndexCount() == 0 && multiTextTa.getIndexCount() == 0 && textViewTa.getIndexCount() == 0) {
&& multiSelTa.getIndexCount() == 0 && multiTextTa.getIndexCount() == 0 && textViewTa.getIndexCount() == 0
&& otherTa.getIndexCount() == 0
) {
return view;
}
if (view == null) {
Expand Down

0 comments on commit 957d833

Please sign in to comment.