Android: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 24: Line 24:
* [https://github.com/androidannotations/androidannotations/wiki Android Annotations Wiki]
* [https://github.com/androidannotations/androidannotations/wiki Android Annotations Wiki]
* [http://androidannotations.org/ Android Annotations]
* [http://androidannotations.org/ Android Annotations]
* [https://github.com/Kotlin/anko/wiki/Anko-Layouts Anko Layouts]

Revision as of 21:32, 11 July 2020

@Rest(rootUrl = "https://api.chorke.org/rest/api", converters = { MappingJackson2HttpMessageConverter.class })
public interface EventsApi {
  @Get("/events/{year}/{location}")
  EventList getEventsByYearAndLocation(@Path int year, @Path String location);

  @Get("/events/{year}/{location}")
  EventList getEventsByLocationAndYear(@Path String location, @Path int year);
}

Redmi Note 5

Settings » About Phone » MIUI Version (TAP 7 more Times)
Settings » Additional Settings » Scroll Down » Developer Options

Anko Layout

compile 'org.jetbrains.anko:anko-design:0.8.3'
compile 'org.jetbrains.anko:anko-appcompat-v7:0.8.3'

References