user3555472
user3555472

Reputation: 836

Android Current Running App not shown in listview

I am trying to show installed apps in listview, but I don't want to show current app, meanz my app name is APP1 so i don't want to show this app in listview, how can i remove it?

Upvotes: 0

Views: 61

Answers (1)

Satish Bellapu
Satish Bellapu

Reputation: 740

If you are using a BaseAdapter just check the app1 from the applist inside getView() @Override method and skip that element before setting the value to the TextView.

Upvotes: 2

Related Questions