You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
add initial support for fragments
Fragments are not added to the View hierarchy yet. Only the lifecycle callbacks are implemented
This commit is contained in:
@@ -1,5 +1,31 @@
|
||||
package android.app;
|
||||
|
||||
import android.os.Bundle;
|
||||
|
||||
public class Fragment {
|
||||
|
||||
|
||||
Activity activity;
|
||||
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
}
|
||||
|
||||
public void onStart() {
|
||||
}
|
||||
|
||||
public void onResume() {
|
||||
}
|
||||
|
||||
public void onPause() {
|
||||
}
|
||||
|
||||
public void onStop() {
|
||||
}
|
||||
|
||||
public void onDestroy() {
|
||||
}
|
||||
|
||||
public Activity getActivity() {
|
||||
return activity;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user