mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-14 21:15:08 -05:00
28 lines
692 B
Java
28 lines
692 B
Java
package de.gultsch.chat.ui;
|
|
|
|
import de.gultsch.chat.R;
|
|
import de.gultsch.chat.entities.Conversation;
|
|
import android.app.Fragment;
|
|
import android.os.Bundle;
|
|
import android.view.LayoutInflater;
|
|
import android.view.View;
|
|
import android.view.ViewGroup;
|
|
|
|
public class ConversationFragment extends Fragment {
|
|
|
|
Conversation conversation;
|
|
|
|
public void setConversation(Conversation conv) {
|
|
this.conversation = conv;
|
|
}
|
|
|
|
@Override
|
|
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
|
|
return inflater.inflate(R.layout.fragment_conversation, container, false);
|
|
}
|
|
|
|
public Conversation getConversation() {
|
|
return conversation;
|
|
}
|
|
}
|