anotherim/src/de/gultsch/chat/ui/ConversationFragment.java

28 lines
692 B
Java
Raw Normal View History

2014-01-24 01:04:05 +00:00
package de.gultsch.chat.ui;
import de.gultsch.chat.R;
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 {
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
}
public Conversation getConversation() {
return conversation;
}
2014-01-24 01:04:05 +00:00
}