Skip to content

Commit 82b7892

Browse files
Update README.md
1 parent bedf115 commit 82b7892

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ import com.techiness.progressdialoglibrary.ProgressDialog;
100100
### Simple Constructor
101101
#### Uses Light Theme by Default.
102102
> [!NOTE]
103-
> Theme can be changed after Instantiation using setTheme(int themeConstant) method.
103+
> Theme can be changed after Instantiation using ```setTheme(int themeConstant)``` method.
104104
105105
> [!IMPORTANT]
106106
> If you want to Instantiate ```ProgressDialog``` Class in a **Fragment**, use ```requireContext()``` method instead of ```this``` keyword for passing ```Context``` object. Similarly, for Instantiating ```ProgressDialog``` Class in **Inner Classes**, use ```YourActivity.this``` in **Java** or ```this@YourActivity``` in **Kotlin** instead of simple ```this``` keyword for passing ```Context``` object.

0 commit comments

Comments
 (0)