This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import androidx.annotation.NonNull; | |
import androidx.lifecycle.ViewModel; | |
import androidx.lifecycle.ViewModelProvider; | |
import javax.inject.Inject; | |
import javax.inject.Provider; | |
public class DaggerViewModelFactory<VM extends ViewModel> implements ViewModelProvider.Factory { | |
private final Provider<VM> provider; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.os.Bundle; | |
import androidx.annotation.NonNull; | |
import androidx.annotation.Nullable; | |
import androidx.lifecycle.AbstractSavedStateViewModelFactory; | |
import androidx.lifecycle.SavedStateHandle; | |
import androidx.lifecycle.ViewModel; | |
import androidx.lifecycle.ViewModelStoreOwner; | |
import androidx.savedstate.SavedStateRegistryOwner; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package android.support.constraint; | |
import android.content.Context; | |
import android.os.Build; | |
import android.util.AttributeSet; | |
import android.view.View; | |
/** | |
* Custom Group for ConstraintLayout that also supports alpha | |
*/ | |
public class CustomGroup extends Group { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.cloudinary.http44; | |
import com.cloudinary.Cloudinary; | |
import com.cloudinary.ProgressCallback; | |
import com.cloudinary.Uploader; | |
import com.cloudinary.Util; | |
import com.cloudinary.http44.ApiUtils; | |
import com.cloudinary.strategies.AbstractUploaderStrategy; | |
import com.cloudinary.utils.ObjectUtils; | |
import com.cloudinary.utils.StringUtils; |