0 down vote favorite
share [g+] share [fb] share [tw]
I have two tabs. One tab shows all the data fetching from DB using
TableLayout. From the other tab I enter data into DB. So now when I
switch tab I should see the the new data from DB. As per my
understanding I need to write my code inside :
tabHost.setOnTabChangedListener(new OnTabChangeListener() {
public void onTabChanged(String tabId) {
if( tabId.equals("showData") ){
}
}
});
But how can I refresh the TableLayout that is present in Activity of
other class. Can someone please help me with this. Thanks in advance!
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en