第一次提交
This commit is contained in:
25
app/src/main/AppInfo.java
Normal file
25
app/src/main/AppInfo.java
Normal file
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* **********************
|
||||
*
|
||||
* @Author bug machine
|
||||
* 创建时间: 2026/3/20 15:29
|
||||
* 用途
|
||||
* **********************
|
||||
*/
|
||||
import android.graphics.drawable.Drawable;
|
||||
|
||||
public class AppInfo {
|
||||
private String appName; // 应用名
|
||||
private String packageName;// 包名
|
||||
private Drawable icon; // 图标
|
||||
|
||||
public AppInfo(String appName, String packageName, Drawable icon) {
|
||||
this.appName = appName;
|
||||
this.packageName = packageName;
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
public String getAppName() { return appName; }
|
||||
public String getPackageName() { return packageName; }
|
||||
public Drawable getIcon() { return icon; }
|
||||
}
|
||||
Reference in New Issue
Block a user