// Path: Webkiosk/src/main/java/com/blackMonster/webkiosk/crawler/dateSheet/DS_SP.java
// public class DS_SP {
//     public String sheetCode;
//     public String course;
//     public String date;
//     public String time;
//     public String roomNo;
//     public String seatNo;
// 
//     public DS_SP(String sheetCode2, String course2, String date2,
// 				 String time2, String roomNo2, String seatNo2) {
// 
//         sheetCode = sheetCode2;
//         course = CrawlerUtils.titleCase(removeSubCode(course2));
//         date = date2;
//         time = time2;
//         roomNo = roomNo2;
//         seatNo = seatNo2;
//     }
// 
//     private String removeSubCode(String str) {
//         //return str.replaceAll(str.substring(str.indexOf('(') -1 , str.indexOf(')')  ), "").trim();
//         return str.replaceAll("\\(\\S+\\)", "");
//     }
// }


import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import com.blackMonster.webkiosk.crawler.dateSheet.DS_SP;
import com.blackMonster.webkioskApp.R;
import java.util.List;
                    .setVisibility(View.GONE);
        }


        ((TextView) view.findViewById(R.id.ds_Sub_name))
                .setText(dssp.course);
        ((TextView) view.findViewById(R.id.ds_date)).setText(dssp.date);
        ((TextView) view.findViewById(R.id.ds_time)).setText(dssp.time);

        if (dssp.roomNo == null || dssp.roomNo.equals(""))
            ((TextView) view.findViewById(R.id.ds_venue))
                    .setVisibility(View.GONE);
        else
            ((TextView) view.findViewById(R.id.ds_venue))
                    .setText(dssp.roomNo);

        if (dssp.seatNo == null || dssp.seatNo.equals(""))
            ((TextView) view.findViewById(R.id.ds_seatNo))
                    .setVisibility(View.GONE);
        else
            ((TextView) view.findViewById(R.id.ds_seatNo))
                    .setText(dssp.seatNo);

        return view;

    }

    private boolean isPresentBefore(int position) {
        for (int i = 0; i < position; ++i)
            if (values.get(i).sheetCode
// Path: Webkiosk/src/main/java/com/blackMonster/webkiosk/crawler/dateSheet/DS_SP.java
// public class DS_SP {
//     public String sheetCode;
//     public String course;
//     public String date;
//     public String time;
//     public String roomNo;
//     public String seatNo;
// 
//     public DS_SP(String sheetCode2, String course2, String date2,
// 				 String time2, String roomNo2, String seatNo2) {
// 
//         sheetCode = sheetCode2;
//         course = CrawlerUtils.titleCase(removeSubCode(course2));
//         date = date2;
//         time = time2;
//         roomNo = roomNo2;
//         seatNo = seatNo2;
//     }
// 
//     private String removeSubCode(String str) {
//         //return str.replaceAll(str.substring(str.indexOf('(') -1 , str.indexOf(')')  ), "").trim();
//         return str.replaceAll("\\(\\S+\\)", "");
//     }
// }


// Path: Webkiosk/src/main/java/com/blackMonster/webkiosk/ui/adapters/DatesheetAdapter.java
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import com.blackMonster.webkiosk.crawler.dateSheet.DS_SP;
import com.blackMonster.webkioskApp.R;
import java.util.List;

                    .setVisibility(View.GONE);
        }


        ((TextView) view.findViewById(R.id.ds_Sub_name))
                .setText(dssp.course);
        ((TextView) view.findViewById(R.id.ds_date)).setText(dssp.date);
        ((TextView) view.findViewById(R.id.ds_time)).setText(dssp.time);

        if (dssp.roomNo == null || dssp.roomNo.equals(""))
            ((TextView) view.findViewById(R.id.ds_venue))
                    .setVisibility(View.GONE);
        else
            ((TextView) view.findViewById(R.id.ds_venue))
                    .setText(dssp.roomNo);

        if (dssp.seatNo == null || dssp.seatNo.equals(""))
            ((TextView) view.findViewById(R.id.ds_seatNo))
                    .setVisibility(View.GONE);
        else
            ((TextView) view.findViewById(R.id.ds_seatNo))
                    .setText(dssp.seatNo);

        return view;

    }

    private boolean isPresentBefore(int position) {
        for (int i = 0; i < position; ++i)
            if (values.get(i).sheetCode
                    .equals(values.get(position).sheetCode))