String uuid = Settings.Secure.getString(context.getContentResolver(), Settings.Secure.ANDROID_ID);
byte[] bytes = uuid.getBytes();
byte[] id = new byte[] {bytes[0], bytes[bytes.length / 2], bytes[bytes.length - 1]};
allOf:
- $ref: '#/components/responses/CommonResponse' # <-- Единый формат ответа
properties: <-- # Он должен быть дополнен данными
data:
$ref: '#/components/schemas/BannerList'
Displays a vertically-scrollable collection of views, where each view is positioned immediatelybelow the previous view in the list. For a more modern, flexible, and performant approach to displaying lists, use RecyclerView
public int getCount()
public View getView(int i, View view, ViewGroup viewGroup)
const headerTitles = {
'/componentOneURL': 'Component One',
'/componentTwoURL': 'Component Two'
};
const Header = withRouter(({ location }) => <span>{headerTitles[location.pathname]}</span>);