What is the translation of " ONCREATE " in English?

Examples of using Oncreate in Vietnamese and their translations into English

{-}
  • Colloquial category close
  • Ecclesiastic category close
  • Computer category close
OnCreate: được gọi khi hoạt động đầu tiên được tạo ra.
OnCreate: Called when the activity is first created.
Sau đó, thêm đoạn code sau vào cuối onCreate().
Add the following block of code at the end of onCreate().
OnCreate(): được gọi khi mà Activity được gọi lần đầu tiên.
OnCreate(): Called when the activity is first created.
Tại sao chỉ nên gọi setContentView() trong onCreate() ở trong một activity?
Why would you do the setContentView() in onCreate() of Activity class?
OnCreate(): Hệ thống gọi phương thức này khi tạo Fragment.
OnCreate() The system calls this method when creating the fragment.
Chức năng đám mây Firebase lấy dữ liệu trên cơ sởdữ liệu thời gian thực onCreate.
Firebase Cloud Functionsget data on real time database onCreate.
OnCreate() Phương thức này được gọi khi Provider được bắt đầu.
The onCreate() method creates the provider when the app starts.
Khi đó,bạn có thể khôi phục trạng thái trong khi onCreate() hoặc onRestoreInstanceState().
You can then restore the state during onCreate() or onRestoreInstanceState().
OnCreate() Phương thức này được gọi khi Provider được bắt đầu.
This staticInitialize() method, is called only once when the server process is started.
Nếu dịch vụ không đang chạy,trước tiên hệ thống sẽ gọi onCreate(), rồi gọi onStartCommand().
If the service isn't already running,the system first calls onCreate(), and then it calls onStartCommand().
Confirmemail oncreate'=gt;' Đã gửi mã xác nhận đến địa chỉ thư điện tử của bạn.
Confirmemail_oncreate'=gt;'A confirmation code was sent to your e-mail address.
Sau đó, tạo một thực thể của đối tượng dạng xem và chụp nó từ bố trí( thường trong phương pháp onCreate()).
Then create an instance of the view object and capture it from the layout(typically in the onCreate() method).
Sự sống của một service xảy ra giữa thời gian onCreate() được gọi và onDestroy() thời gian trả về.
The entire lifetime of a service occurs between the time that onCreate() is called and the time that onDestroy() returns.
Khi sự thay đổi đó diễn ra, Android tạo lại hoạt động đang chạy( hệ thống gọi onDestroy(),rồi ngay lập tức gọi onCreate()).
When such a change occurs, Android restarts the running Activity(onDestroy() is called,followed immediately by onCreate()).
Toàn bộ vòng đời của một dịch vụ xảy ra giữa thời điểm gọi onCreate() và thời điểm onDestroy() trả về.
The entire lifetime of a service occurs between the time that onCreate() is called and the time that onDestroy() returns.
Các phương pháp onCreate() và onDestroy() được gọi cho tất cả dịch vụ, dù chúng được tạo bởi startService() hay bindService().
The onCreate() and onDestroy() methods are called for all services, whether they're created by startService() or bindService().
Entire lifetime của một Service diễn ra giữa thời gian onCreate() được gọi ra và thời gian mà onDestroy() trả lại.
The entire lifetime of a service occurs between the time that onCreate() is called and the time that onDestroy() returns.
Ví dụ, một dịch vụ phát lại nhạc cóthể tạo luồng mà tại đó nhạc sẽ được phát trong onCreate(), sau đó dừng luồng trong onDestroy().
For example, a music playback service can create thethread where the music is played in onCreate(), and then it can stop the thread in onDestroy().
Nếu bạn quyết định cũng khống chế các phương pháp gọi lại khác,chẳng hạn như onCreate(), onStartCommand(), hoặc onDestroy(), hãy nhớ gọi ra siêu triển khai, sao cho IntentService có thể xử lý hợp lý vòng đời của luồng trình thực hiện.
If you decide to also override other callback methods,such as onCreate(), onStartCommand(), or onDestroy(), be sure to call the super implementation so that the IntentService can properly handle the life of the worker thread.
Hoạt động của bạn nên thực hiện thiết lập trạng thái" chung"( chẳng hạn như định nghĩa bố trí) trong onCreate(), và giải phóng tất cả tài nguyên còn lại trong onDestroy().
An activity will do all setup of"global" state in onCreate(), and release all remaining resources in onDestroy().
Khi tìm thấy kết quả khớp,[ 3] hệ thống sẽ bắt đầu hoạt động so khớp đó( Hoạt động B)bằng cách gọi ra phương pháp onCreate() và chuyển nó cho Intent.
When a match is found,[3] the system starts the matching activity(Activity B)by invoking its onCreate() method and passing it the Intent.
Ví dụ, một Service phát lại nhạc có thể tạo ra một luồng và bắt đầu chơi nhạc onCreate(), và sau đó luồng chơi nhạc sẽ dừng lại ở onCreate().
For example, a music playback service can create thethread where the music is played in onCreate(), and then it can stop the thread in onDestroy().
Ví dụ, nếu hoạt động của bạn có một luồng đang chạy ngầm để tải xuống dữ liệu từ mạng,nó có thể tạo luồng đó trong onCreate() rồi dừng luồng trong onDestroy().
For example, if it has a thread running in the background to download data from the network,it may create that thread in onCreate() and then stop the thread in onDestroy().
Hoạt động của bạn nên thực hiệnthiết lập trạng thái" chung"( chẳng hạn như định nghĩa bố trí) trong onCreate(), và giải phóng tất cả tài nguyên còn lại trong onDestroy().
Your activity should performsetup of“global” state(such as defining layout) in onCreate(), and release all remaining resources in onDestroy().
Nếu bạn muốn hoạt động của mình nhận được phản hồi ngay cả trong khi bị dừng khi đang dưới nền,khi đó bạn có thể gắn kết trong khi onCreate() và bỏ gắn kết trong khi onDestroy().
If you want your activity to receive responses even while it is stopped in the background,then you can bind during onCreate() and unbind during onDestroy().
Các Activity trải qua quá trình phân chia tiêu chuẩn của các phương thức onStop()onPause(), onDestroy(), và sau đó onCreate() khi một đối tượng mới của Activity được tạo ra.
The Activity goes through the standard teardown process of onStop(), onPause(), onDestroy(),and then onCreate() as a new instance of that Activity is created.
Bạn có thể lưu trạng thái trong phương pháp gọi lại onSaveInstanceState() của phân đoạn và khôi phục nó trong hoặc onCreate(), onCreateView(), hoặc onActivityCreated().
Save the Fragment state during the onSaveInstanceState() callback and restore it during either onCreate(), onCreateView(), or onActivityCreated().
Ví dụ, nếu bạn muốn phát một bản nhạc, nhưng chỉ trong khi Activity của bạn đang chạy,bạn có thể tạo một Thread trong onCreate(), bắt đầu chạy nó trong onStart(), rồi dừng nó trong onStop().
For example, if you want to play some music, but only while your activity is running,you might create a thread in onCreate(), start running it in onStart(), and stop it in onStop().
Results: 28, Time: 0.0225

Top dictionary queries

Vietnamese - English