Changeset View
Changeset View
Standalone View
Standalone View
src/org/kde/kdeconnect/Plugins/SharePlugin/ShareActivity.java
Show First 20 Lines • Show All 122 Lines • ▼ Show 20 Line(s) | 85 | private void updateComputerList() { | |||
---|---|---|---|---|---|
123 | }); | 123 | }); | ||
124 | } | 124 | } | ||
125 | 125 | | |||
126 | @Override | 126 | @Override | ||
127 | protected void onCreate(Bundle savedInstanceState) { | 127 | protected void onCreate(Bundle savedInstanceState) { | ||
128 | super.onCreate(savedInstanceState); | 128 | super.onCreate(savedInstanceState); | ||
129 | 129 | | |||
130 | ThemeUtil.setUserPreferredTheme(this); | 130 | ThemeUtil.setUserPreferredTheme(this); | ||
131 | setContentView(R.layout.devices_list); | 131 | setContentView(R.layout.fragment_pair); | ||
132 | | ||||
133 | 132 | | |||
134 | ActionBar actionBar = getSupportActionBar(); | 133 | ActionBar actionBar = getSupportActionBar(); | ||
135 | mSwipeRefreshLayout = (SwipeRefreshLayout) findViewById(R.id.refresh_list_layout); | 134 | mSwipeRefreshLayout = (SwipeRefreshLayout) findViewById(R.id.refresh_list_layout); | ||
136 | mSwipeRefreshLayout.setOnRefreshListener( | 135 | mSwipeRefreshLayout.setOnRefreshListener( | ||
137 | this::updateComputerListAction | 136 | this::updateComputerListAction | ||
138 | ); | 137 | ); | ||
139 | if (actionBar != null) { | 138 | if (actionBar != null) { | ||
140 | actionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_HOME | ActionBar.DISPLAY_SHOW_TITLE | ActionBar.DISPLAY_SHOW_CUSTOM); | 139 | actionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_HOME | ActionBar.DISPLAY_SHOW_TITLE | ActionBar.DISPLAY_SHOW_CUSTOM); | ||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |