app/src/main/java/org/andstatus/app/data/ActorActivity.java
/** If this note is newer than any we got earlier, remember it
     * @param updatedDateIn may be 0 (will be retrieved here)
     */
If this note is newer than any we got earlier, remember it
@param updatedDateIn may be 0 (will be retrieved here)
If this note is newer than any we got earlier remember it @param updatedDateIn may be 0 ( will be retrieved here )
public void onNewActivity(long activityId, long updatedDateIn) {
        if (actorId == 0 || activityId == 0) {
            return; 
        }
        long activityDate = updatedDateIn;
        if (activityDate == 0) {
            activityDate = MyQuery.activityIdToLongColumnValue(ActivityTable.UPDATED_DATE, activityId);
        }
        if (activityDate > lastActivityDate) {
            lastActivityDate = activityDate;
            lastActivityId = activityId;
            changed = true;
        }
    }
public void onNewActivity ( long activityId , long updatedDateIn ) { if ( actorId == 0 || activityId == 0 ) { return ; } long activityDate = updatedDateIn ; if ( activityDate == 0 ) { activityDate = MyQuery . activityIdToLongColumnValue ( ActivityTable . UPDATED_DATE , activityId ) ; } if ( activityDate > lastActivityDate ) { lastActivityDate = activityDate ; lastActivityId = activityId ; changed = true ; } }
If this note is newer than any we got earlier, remember it
 @param updatedDateIn may be 0 (will be retrieved here)
If this note is newer than any we got earlier remember it @param updatedDateIn may be 0 ( will be retrieved here )