KaeMs

Results comments of KaeMs

@beeender Here's the full backtrace, it's basically telling the same thing over and over ``` 04-20 14:43:32.721 29610-29610/com.ast.dev E/REALM_JNI: jni: ThrowingException 2, rowIndex is less than 0., . 04-20 14:43:32.721...

@Zhuinden Well that's interesting, yesterday I've managed to change stuff inside my adapter but haven't tried it yet. Will ask in SO for any trouble. So basically it handles it...

Sorry for long reply, it still doesn't work.. The same error still gets thrown ``` 04-25 10:05:43.121 22814-22814/com.ast.dev E/REALM_JNI: jni: ThrowingException 2, rowIndex is less than 0., . 04-25 10:05:43.121...

Nope, I don't call it anymore, and btw for extra info, this might help.. When user first enters the activity, an API call is made, and the result is handled...

If I delete a RealmList in the Fragment, the RealmList in the Adapter, provided that it has the same RealmList, will get updated right? I search a RealmObject (a wrapper)by...

This is a part of the error, basically the same, but now I don't catch it using the custom LinearLayoutManager ``` java.lang.ArrayIndexOutOfBoundsException: rowIndex is less than 0. at io.realm.internal.LinkView.nativeGetTargetRowIndex(Native Method)...

Yup, it's the RealmList inside the ChatRoomWrapper which I got from query.findFirst(). That's a managed RealmList right?

Yes I can create a sample project, in fact I tried a new Activity with the exact same code, except for the API call, and it worked, but when I...

``` public class TestActivity extends AppCompatActivity { private ChatAdapter chatAdapter; RecyclerView recyclerView; private int tmpCount = 1; private String userId; String roomId = "0"; @Override public void onCreate(Bundle savedInstanceState) {...

Hmm so everytime I need to do `mDataset.add(0, messageItem);` I have to query the existing data, get it updated, then execute `updateData()`?