Skip to content

Commit 9265d59

Browse files
committed
Fix parameter order for FirebaseListAdapter (again)
1 parent a9abade commit 9265d59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Next, we need to create a subclass of the `FirebaseListAdapter` with the correct
141141
Firebase.setAndroidContext(this);
142142
Firebase ref = new Firebase("https://nanochat.firebaseio.com");
143143

144-
mAdapter = new FirebaseListAdapter<ChatMessage>(ChatMessage.class, android.R.layout.two_line_list_item, this, ref) {
144+
mAdapter = new FirebaseListAdapter<ChatMessage>(this, ChatMessage.class, android.R.layout.two_line_list_item, ref) {
145145
@Override
146146
protected void populateView(View view, ChatMessage chatMessage) {
147147
((TextView)view.findViewById(android.R.id.text1)).setText(chatMessage.getName());

0 commit comments

Comments
 (0)