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