コード例 #1
0
 @Override
 protected void onLocationMessageViewClicked(AVIMLocationMessage locationMessage) {
   LocationActivity.startToSeeLocationDetail(
       this,
       locationMessage.getLocation().getLatitude(),
       locationMessage.getLocation().getLongitude());
 }
コード例 #2
0
 public void onEvent(LocationItemClickEvent event) {
   if (null != event && null != event.message && event.message instanceof AVIMLocationMessage) {
     AVIMLocationMessage locationMessage = (AVIMLocationMessage) event.message;
     LocationActivity.startToSeeLocationDetail(
         this,
         locationMessage.getLocation().getLatitude(),
         locationMessage.getLocation().getLongitude());
   }
 }