| | |
| | | import cn.sinata.xldutils.utils.SPUtils |
| | | import cn.sinata.xldutils.view.SwipeRefreshRecyclerLayout |
| | | import cn.sinata.xldutils.visible |
| | | import com.amap.api.services.core.LatLonPoint |
| | | import com.amap.api.services.help.Tip |
| | | import com.igo.user.IGoApplication |
| | | import com.igo.user.R |
| | | import com.igo.user.db.HistoryDBManager |
| | | import com.igo.user.network.HttpManager |
| | | import com.igo.user.network.entity.Anchor |
| | | import com.igo.user.network.entity.LatLonPoint |
| | | import com.igo.user.network.entity.PlaceDetailBean |
| | | import com.igo.user.network.entity.SearchBean |
| | | import com.igo.user.network.entity.Tip |
| | | import com.igo.user.ui.ChooseCityActivity |
| | | import com.igo.user.ui.TransparentStatusBarActivity |
| | | import com.igo.user.ui.trip.adapter.PositionAdapter |
| | |
| | | val tip = Tip() |
| | | tip.name = it.name |
| | | tip.address = it.formatted_address |
| | | tip.setPostion( LatLonPoint(it.geometry.location.lat,it.geometry.location.lng)) |
| | | tip.setPostion( |
| | | LatLonPoint( |
| | | it.geometry.location.lat, |
| | | it.geometry.location.lng |
| | | ) |
| | | ) |
| | | tip |
| | | }) |
| | | } |