Last active
January 5, 2018 21:46
-
-
Save alkjez/38bfdf825ef2e94b72cd88a6c1441d29 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MessageListActivity extends AppCompatActivity { | |
private RecyclerView mMessageRecycler; | |
private MessageListAdapter mMessageAdapter; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_message_list); | |
mMessageRecycler = (RecyclerView) findViewById(R.id.reyclerview_message_list); | |
mMessageAdapter = new MessageListAdapter(this, messageList); | |
mMessageRecycler.setLayoutManager(new LinearLayoutManager(this)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment