Android Question List InsertAt

peggjones

Active Member
Licensed User
Longtime User
Whenever I try to use InsertAt with a list I get

"unsupported operation exception"

Is this a bug?

Many thanks.
 

Roycefer

Well-Known Member
Licensed User
Longtime User
You are probably using an immutable List which you get by assigning an Array to a List. If you want to add a bunch of items to a List, use List.AddAll and the List will remain mutable.
 
Upvote 0
Top