how to use the filedialog of afollestad/material-dialogs

时间:2017-08-30 20:38:53

标签: android android-fragments android-context android-library

I am trying to call this dialog in my fragment, I visited some thread regarding this and I came to know about the overriding the OnAtach method but this method is deprecated and I can no longer use that method

+----------+--------+---------+
| FILECODE | STATES | COUNTS  |
+----------+--------+---------+
| TEST 1   |   CA   |       2 |
| TEST 1   |   AZ   |       1 |
| TEST 1   |   LI   |       1 |
| TEST 2   |   CA   |       2 |
| TEST 3   |   CA   |       1 |
| TEST 4   |   CA   |       3 |
| TEST 5   |   CA   |       1 |
+----------+--------+---------+

this is how I use to call the method but still, it is showing error red line in the builder method of the dialog this is thelibrary that I am using I asked them here but no answer yet

SELECT 
    S.States, S.FIRST_MORTGAGE_PRIMARY_LOAN_TYPE, C.COUNTS
FROM 
    Master_Files S 
INNER JOIN 
    (SELECT 
         States, FIRST_MORTGAGE_PRIMARY_LOAN_TYPE, 
         COUNT(FIRST_MORTGAGE_PRIMARY_LOAN_TYPE) as COUNTS  
     FROM 
         Master_Files 
     GROUP BY 
         States, FIRST_MORTGAGE_PRIMARY_LOAN_TYPE) C ON S.FIRST_MORTGAGE_PRIMARY_LOAN_TYPE = C.FIRST_MORTGAGE_PRIMARY_LOAN_TYPE 
                                                     AND S.States = C.States

this is how i am calling

0 个答案:

没有答案