File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
selectionalertdialog/src/main/java/com/drapps/selectionalertdialog Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ public class SingleSelectionDialog extends AppCompatActivity {
1919 Dialog dialog ;
2020 private static Context context ;
2121 private static ArrayList <String > list ;
22- private static String title = "" ;
22+ private static String headerTitle = "" ;
2323
2424
2525 @ Override
@@ -28,19 +28,19 @@ protected void onCreate(@Nullable Bundle savedInstanceState) {
2828 setContentView (R .layout .single_selection_dialog );
2929 }
3030
31- public static void with (Context mContext ) {
31+ public void with (Context mContext ) {
3232 context = mContext ;
3333 }
3434
35- public static void create (ArrayList <String > dataList ) {
35+ public void create (ArrayList <String > dataList ) {
3636 list = dataList ;
3737 }
3838
39- public static void setTitle (String mTitle ) {
39+ public void setTitle (String mTitle ) {
4040 if (mTitle != null && !mTitle .equals ("" )) {
41- title = mTitle ;
41+ headerTitle = mTitle ;
4242 } else {
43- title = "Select" ;
43+ headerTitle = "Select" ;
4444 }
4545 }
4646
You can’t perform that action at this time.
0 commit comments