]>
iEval git - unical.git/blob - src/ro/ieval/unical/AddEventTabListener.java
1 package ro
.ieval
.unical
;
3 import android
.app
.ActionBar
;
4 import android
.app
.ActionBar
.Tab
;
5 import android
.app
.Fragment
;
6 import android
.app
.FragmentTransaction
;
8 public class AddEventTabListener
implements ActionBar
.TabListener
{
9 public Fragment fragment
;
13 public AddEventTabListener(final Fragment fragment
,Event e
,int tabId
) {
14 this.fragment
= fragment
;
20 public void onTabSelected(final Tab tab
, final FragmentTransaction ft
) {
21 ft
.replace(R
.id
.fragment_container
, fragment
);
25 public void onTabUnselected(final Tab tab
, final FragmentTransaction ft
) {
28 ev
.title
=fragment
.getView().findViewById(R
.id
.eventtitle
).toString();
31 ev
.description
=fragment
.getView().findViewById(R
.id
.description
).toString();
40 public void onTabReselected(final Tab tab
, final FragmentTransaction ft
) {
41 // TODO Auto-generated method stub
This page took 0.044116 seconds and 4 git commands to generate.