How to Select multiple item on long press?

Hi adityajaiz,

If your main goal is to select multiple list items only then there is a way to do it without longpress ( on-hold ) event.

You just need to use the ng-click directive:

<ion-item class="item-remove-animate item-avatar item-icon-right" ng-repeat="chat in chats" type="item-text-wrap" ng-click="multicheck(chat)" on-hold="onHold()" ng-class="{ active: chat.selected }">
                <img ng-src="img/{{chat.Image1}}">
                <h2>{{chat.name}}</h2>
                <div class="item-text-wrap">
                    <h4>{{chat.lastText}}</h4>
</div>
</ion-item>

controller:

var selected = [];

$scope.multicheck = function (user) {
    var index = selected.indexOf(user);
    if(index > -1) {
        selected.splice(index, 1);
        user.selected = false;
    } else {
        selected.push(member);
        user.selected = true;
    }
}

Hope this will solve your problem.