We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
this is to easy code. but it do not work. i am crazy
public class MYGlideModule implements GlideModule {
@Override public void applyOptions(Context context, GlideBuilder builder) { Log.e("-------", "applyOptions 设置"); builder.setDecodeFormat(DecodeFormat.PREFER_ARGB_8888); } @Override public void registerComponents(Context context, Glide glide) { Log.e("-------", "registerComponents 设置"); }
}
in AndroidManifest.xml
<meta-data android:name="com.maoyan.events.myapplication.MYGlideModule" android:value="GlideModule" /> <activity android:exported="true" android:label="@string/app_name" android:name=".MainActivity" android:theme="@style/Theme.MyApplication.NoActionBar"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application>
wow, it do not work. do not load MYGlideModule. how to fixed?
The text was updated successfully, but these errors were encountered:
fix this
Sorry, something went wrong.
No branches or pull requests
this is to easy code. but it do not work. i am crazy
public class MYGlideModule implements GlideModule {
}
in AndroidManifest.xml
wow, it do not work. do not load MYGlideModule. how to fixed?
The text was updated successfully, but these errors were encountered: