mobile-sdk-android
mobile-sdk-android copied to clipboard
Seems not working with Custom view with custom attributes
I have a custom view and get the text from XML: The code slice is here:
<com.example.CustomView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:customTag="@string/hello_world" />
val typedArray = context.obtainStyledAttributes(attrs, R.styleable.CustomView, 0, 0)
tag = typedArray.getText(R.styleable.CustomView_customTag) ?: ""
The tag does not use the latest translation.
Is it a bug or caused by using the outdated SDK version? Waiting for your response, Thank you!
Hi @SwiftyWang, what version of the SDK are you using?
Hi @SwiftyWang, what version of the SDK are you using?
I upgraded to the latest version but the issue still exists.
Not sure if it is related to this limitation? if yes any workaround?