フラグメントは、 に配置できるアプリケーションのユーザー インターフェイスまたは動作の一部です Activity。 フラグメントとの相互作用は、 と Fragment#getFragmentManager() Fragment.getFragmentManager()を介して取得できる を介してFragmentManagerActivity#getFragmentManager() Activity.getFragmentMa...
weakSelf.player.isPlaying{weakSelf.play()}// バックグラウンド再生から復帰ifweakSelf.player.isPlaying{// (省略)再生状態の画面反映処理}else{// (省略)停止状態の画面反映処理}// 動画表示を画面に反映する// ポイント: AVPlayer自体は処理され続けているため、動画の表示がこれまでの再生位置...
app\res\layout\activity_main.xmlを開き、既存の Hello World<TextView ... />要素を次の ArFragment に置き換えます。 このコードにより、カメラ フィードが画面に表示され、お使いのデバイスが移動するときにその位置を ARCore で追跡できます。
Source File: TimeAttendantFastFragment.java From iBeacon-Android with Apache License 2.0 5 votes private synchronized void displayLocationSettingsRequest() { LocationSettingsRequest.Builder builder = new LocationSettingsRequest.Builder().addLocationRequest(locationRequest); builder.setAlwaysShow(tru...
/// Sets the `List` of resources for which you want to obtain preauthorization decisions./// Each element in the list must be a `String` representing either the resource ID value or the media RSS fragment which must be agreed with the MVPD./// This function sets the ...
Googleの100チーム以上がKotlnを使っている。 なぜ人々がKotlinが好きなのか Expressiveness property, extension methods Safety nullability, string template Interoperability 既存のコードとの互換性 Structured concurrency Coroutines Google内部での調査によるとKotlinに移行したアプリは10%のクラッシュを経験...
100 more_horiz CancelDelete Comments No comments Let's comment your feelings that are more than good LoginSign Up Qiita Conference 2024 Autumn will be held!: 11/14(Thu) - 11/15(Fri) Qiita Conference is the largest tech conference in Qiita!
Fragment ユーザーがこの項目を選択したときに表示されるフラグメント。 FragmentAllowEnterTransitionOverlap FragmentAllowReturnTransitionOverlap FragmentCloseEnterAnimation FragmentCloseExitAnimation FragmentEnterTransition FragmentExitTransition FragmentFadeEnterAnimation FragmentFadeExitAnimation FragmentOp...