Skip to content

Commit 4621752

Browse files
committed
Siddy's IO
1 parent 6587c7d commit 4621752

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.idea/gradle.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CustomLottieDialogBox/src/main/java/com/siddydevelops/customlottiedialogbox/CustomLottieDialog.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public void initialize()
4646
lottieAnimationView = dialog.findViewById(R.id.lottieAnimation);
4747
lottieAnimationView.setAnimation(lottieAnim);
4848
lottieAnimationView.setRepeatCount(100);
49+
dialog.setCanceledOnTouchOutside(false);
4950
}
5051

5152
private void initializeBatch() {
@@ -55,6 +56,7 @@ private void initializeBatch() {
5556
mGraduallyTextView = dialog.findViewById(R.id.loadingTextView);
5657
parentLayout = dialog.findViewById(R.id.parentLayout);
5758
lottieAnimationView = dialog.findViewById(R.id.lottieAnimation);
59+
dialog.setCanceledOnTouchOutside(false);
5860

5961
switch(lottieBatch)
6062
{

0 commit comments

Comments
 (0)