Bug? 6.80 BETA #1 CharSequence

wimpie3

Well-Known Member
Licensed User
Longtime User
I'm using an ACButton from the AppCompat library. After installing 6.80 beta 1, I get the following crash:
B4X:
prevButton.Text=\
javac 1.7.0_51
src\b4a\example\screen.java:280: error: method setText in class TextViewWrapper<T> cannot be applied to given types;
__ref._prevbutton.setText((Object)("Previous"));
                 ^
  required: CharSequence
  found: Object
  reason: actual argument Object cannot be converted to CharSequence by method invocation conversion
  where T is a type-variable:
    T extends TextView declared in class TextViewWrapper
The code worked fine before.
 

wimpie3

Well-Known Member
Licensed User
Longtime User
An upgrade to beta 2 fixed the problem. Thanks Erel. Didn't know there was already a beta 2 :)
 
Top