Add AbstracLoader based on developer.android example