摘要:        
在将自己写的工具打成.jar包的时候,有时候会需要引用到res中的资源,这时候不能将资源一起打包,只能通过反射机制动态的获取资源. 特别用在自己定义一个工具将其打成.jar包时,特别注意资源的获取 1、封装成一个工具类 2、资源的获取 TextView.setText(String.format(t    阅读全文
posted @ 2016-11-04 14:16
DemonCoder
阅读(1566)
评论(0)
推荐(0)
        
            
        
        
摘要:        
public View getView(final int position, View convertView, ViewGroup parent) { if (convertView == null) convertView = LayoutInflater.from(mContext).inflate(R.layout.item, parent, f...    阅读全文
posted @ 2016-11-04 14:14
DemonCoder
阅读(151)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号