Ejemplo n.º 1
0
 @Override
 protected void onLocationMessageViewClicked(AVIMLocationMessage locationMessage) {
   LocationActivity.startToSeeLocationDetail(
       this,
       locationMessage.getLocation().getLatitude(),
       locationMessage.getLocation().getLongitude());
 }
 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());
   }
 }
Ejemplo n.º 3
0
 @Override
 protected void onAddLocationButtonClicked(View v) {
   LocationActivity.startToSelectLocationForResult(this, LOCATION_REQUEST);
 }
 public void onEvent(InputBottomBarLocationClickEvent event) {
   LocationActivity.startToSelectLocationForResult(this, LOCATION_REQUEST);
 }