@CallSuper @Override public void bindView(VH holder, List<Object> payloads) { holder.itemView.setTag(R.id.material_drawer_item, this); }
@CallSuper @Override public <T> void addValueCallback(T property, @Nullable LottieValueCallback<T> callback) { transform.applyValueCallback(property, callback); } }
@Override @CallSuper protected void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate(savedInstanceState); lifecycleSubject.onNext(ActivityEvent.CREATE); }
@Override @CallSuper public void onViewCreated(View view, @Nullable Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState); lifecycleSubject.onNext(FragmentEvent.CREATE_VIEW); }
@Override @CallSuper public void onStart() { super.onStart(); lifecycleSubject.onNext(FragmentEvent.START); }
@Override @CallSuper public void onPause() { lifecycleSubject.onNext(FragmentEvent.PAUSE); super.onPause(); }
@Override @CallSuper public void onDestroyView() { lifecycleSubject.onNext(FragmentEvent.DESTROY_VIEW); super.onDestroyView(); }
@Override @CallSuper public void onAttach(android.app.Activity activity) { super.onAttach(activity); lifecycleSubject.onNext(FragmentEvent.ATTACH); }
@Override @CallSuper public void onStart() { super.onStart(); lifecycleSubject.onNext(FragmentEvent.START); }
@Override @CallSuper public void onResume() { super.onResume(); lifecycleSubject.onNext(FragmentEvent.RESUME); }
@Override @CallSuper public void onResume() { super.onResume(); lifecycleSubject.onNext(FragmentEvent.RESUME); }
@Override @CallSuper public void onDestroy() { lifecycleSubject.onNext(FragmentEvent.DESTROY); super.onDestroy(); }
@Override @CallSuper public void onResume() { super.onResume(); lifecycleSubject.onNext(FragmentEvent.RESUME); }
@Override @CallSuper public void onDestroy() { lifecycleSubject.onNext(FragmentEvent.DESTROY); super.onDestroy(); }
@Override @CallSuper public void onResume() { super.onResume(); lifecycleSubject.onNext(FragmentEvent.RESUME); }
@Override @CallSuper public void onAttach(android.app.Activity activity) { super.onAttach(activity); lifecycleSubject.onNext(FragmentEvent.ATTACH); }
@Override @CallSuper public void onResume() { super.onResume(); lifecycleSubject.onNext(FragmentEvent.RESUME); }
@Override @CallSuper protected void onDestroy() { lifecycleSubject.onNext(ActivityEvent.DESTROY); super.onDestroy(); } }
@CallSuper @Override public void getBounds( RectF outBounds, Matrix parentMatrix, boolean applyParents) { rect.set(0, 0, 0, 0); buildParentLayerListIfNeeded(); boundsMatrix.set(parentMatrix); if (applyParents) { if (parentLayers != null) { for (int i = parentLayers.size() - 1; i >= 0; i--) { boundsMatrix.preConcat(parentLayers.get(i).transform.getMatrix()); } } else if (parentLayer != null) { boundsMatrix.preConcat(parentLayer.transform.getMatrix()); } } boundsMatrix.preConcat(transform.getMatrix()); }
@SuppressWarnings("unchecked") @Override @CallSuper public <T> void addValueCallback(T property, @Nullable LottieValueCallback<T> callback) { if (property == LottieProperty.OPACITY) { opacityAnimation.setValueCallback((LottieValueCallback<Integer>) callback); } else if (property == LottieProperty.STROKE_WIDTH) { widthAnimation.setValueCallback((LottieValueCallback<Float>) callback); } else if (property == LottieProperty.COLOR_FILTER) { if (callback == null) { colorFilterAnimation = null; } else { colorFilterAnimation = new ValueCallbackKeyframeAnimation<>((LottieValueCallback<ColorFilter>) callback); colorFilterAnimation.addUpdateListener(this); layer.addAnimation(colorFilterAnimation); } } }