As with activities, there is no constructor on a typical Fragment subclass. The
primary method you override, though, is not onCreate() (though, as we will see
later in this chapter, that is possible). Instead, the primary method to override is
onCreateView(), which is responsible for returning the UI to be displayed for this
fragment:
As with activities, there is no constructor on a typical Fragment subclass. Theprimary method you override, though, is not onCreate() (though, as we will seelater in this chapter, that is possible). Instead, the primary method to override isonCreateView(), which is responsible for returning the UI to be displayed for thisfragment:
การแปล กรุณารอสักครู่..
