android - if statement colors in listview -
इस कथन के साथ, सूची दृश्य में डाला, सार्वजनिक दृश्य getView (int pos, बच्चे, ViewGroup पैरेंट देखें) {SharedPreferences prefs = mContext.getSharedPreferences (MY_PREFERENCES, Context.MODE_PRIVATE); स्ट्रिंग ऐनो = प्रीफ़ेक्स .get स्ट्रिंग (एननो, "2014"); स्ट्रिंग मलटाटिया = प्रीफ़्स .get स्ट्रिंग (म्यूटा, "एम"); स्ट्रिंग ferie_1 = prefs.getString (FERIE, "एफ"); स्ट्रिंग par_1 = prefs.getString (PAR, "PAR"); धारक mHolder; लेआउटइनफ्लाटर लेआउटआइफ़्लेटर; // पाठ जिसमें आप "एम" को ढूंढना चाहते हैं यदि (child == null) {layoutInflater = (LayoutInflater) mContext.getSystemService (context.LAYOUT_INFLATER_SERVICE); बच्चा = लेआउटइफलेटर.inफलेट (आर.लेआउट.रो, नल); mHolder = नया होल्डर (); MHolder.txt_notes = (TextView) child.findViewById (R.id.txt_notes); MHolder.txt_mese = (पाठदृश्य) child.findViewById (R.id.txt_mese); MHolder.txt_giorni = (टेक्स्टदृश्य) child.findViewById (R.id.txt_giorni); MHolder.txt_turno = (TextView) child.findViewById (R...