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