2014-01-24 01:04:05 +00:00
|
|
|
package de.gultsch.chat.ui;
|
|
|
|
|
|
|
|
import de.gultsch.chat.R;
|
2014-01-24 22:58:51 +00:00
|
|
|
import de.gultsch.chat.entities.Conversation;
|
2014-01-24 01:04:05 +00:00
|
|
|
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 {
|
|
|
|
|
2014-01-24 22:58:51 +00:00
|
|
|
Conversation conversation;
|
|
|
|
|
|
|
|
public void setConversation(Conversation conv) {
|
|
|
|
this.conversation = conv;
|
|
|
|
}
|
|
|
|
|
2014-01-24 01:04:05 +00:00
|
|
|
@Override
|
|
|
|
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
|
2014-01-24 09:50:18 +00:00
|
|
|
return inflater.inflate(R.layout.fragment_conversation, container, false);
|
2014-01-24 01:04:05 +00:00
|
|
|
}
|
2014-01-24 22:58:51 +00:00
|
|
|
|
|
|
|
public Conversation getConversation() {
|
|
|
|
return conversation;
|
|
|
|
}
|
2014-01-24 01:04:05 +00:00
|
|
|
}
|