Code example for AttributeSet

Methods: getAttributeValue

0
		this.context = context;
		this.attrs = attributeSet;
		this.defStyle = defStyle;
		 
		if (attributeSet != null) {
			key = attributeSet.getAttributeValue("android", "key");
        } 
	} 
 
	@Implementation 
	public Context getContext() {
    	return context;
    } 
     
    public AttributeSet getAttrs() {
    	return attrs;
    } 
     
    public int getDefStyle() { 
    	return defStyle;
    }