package com.test.basd.smartjunkcleaner.view

import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup

object XmlEx {
    fun Int.inflate(parent: ViewGroup, attachToRoot: Boolean = false): View {
        return LayoutInflater.from(parent.context).inflate(this, parent, attachToRoot)
    }
}