This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public enum Feature { | |
| A("nameA", "urlA.com"), | |
| B("nameB", "urlB.com"); | |
| private String name; | |
| private String url; | |
| Feature(String name, String url) { | |
| this.name = name; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class NewsActivity extends AppCompatActivity { | |
| private SwipeRefreshLayout mSwipeRefreshLayout; | |
| private NewsRecyclerView mListView; | |
| private NewsCallback newsCallback = new NewsCallback(); | |
| @Override | |
| protected void onCreate(Bundle savedInstanceState) { | |
| super.onCreate(savedInstanceState); |
NewerOlder