-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4241 from sjudd:add_test_for_no_duplicate_fragments
PiperOrigin-RevId: 314436527
- Loading branch information
Showing
3 changed files
with
82 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
23 changes: 23 additions & 0 deletions
23
...mentation/src/main/java/com/bumptech/glide/test/GlideWithBeforeSuperOnCreateActivity.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package com.bumptech.glide.test; | ||
|
||
import android.os.Bundle; | ||
import android.widget.TextView; | ||
import androidx.annotation.Nullable; | ||
import androidx.fragment.app.FragmentActivity; | ||
import com.bumptech.glide.Glide; | ||
|
||
public class GlideWithBeforeSuperOnCreateActivity extends FragmentActivity { | ||
|
||
@Override | ||
protected void onCreate(@Nullable Bundle savedInstanceState) { | ||
Glide.with(this); | ||
super.onCreate(savedInstanceState); | ||
setContentView(new TextView(this)); | ||
} | ||
|
||
@Override | ||
protected void onResume() { | ||
super.onResume(); | ||
Glide.with(this); | ||
} | ||
} |