Permalink
Browse files

Removed all comment lines of code

  • Loading branch information...
Hafiz Waleed Hussain
Hafiz Waleed Hussain committed Aug 12, 2017
1 parent f4998dc commit e7a35dbada5ee00e6933241eb98e7251442d2f9f
@@ -28,8 +28,6 @@
private RecyclerView recyclerView;
private ProgressBar progressBar;
private Disposable disposable;
// private Glide glide;


@Inject
GitHubRepository gitHubRepository;
@@ -39,7 +37,6 @@
RecyclerView.LayoutManager layoutManager;


// private HomeActivityComponent homeActivityComponent;

@Override
protected void onCreate(Bundle savedInstanceState) {
@@ -49,14 +46,6 @@ protected void onCreate(Bundle savedInstanceState) {
DaggerHomeActivityComponent.builder()
.homeActivityModule(new HomeActivityModule(this, App.getApp().getGlide()))
.build().inject(this);
// homeActivityComponent = DaggerHomeActivityComponent.builder()
// .homeActivityModule(new HomeActivityModule(this, App.getApp().getGlide()))
// .build();

// gitHubRepository = App.getApp().getGitHubRepository();
// gitHubRepository = homeActivityComponent.getGitHubRepository();

// glide = App.getApp().getGlide();
initViews();
initRecyclerView();
loadData();
@@ -77,11 +66,6 @@ private void initViews() {
}

private void initRecyclerView() {
// layoutManager = new LinearLayoutManager(this);
// layoutManager = homeActivityComponent.getLayoutManager();

// homeAdapter = new HomeAdapter(new ArrayList<>(), glide);
// homeAdapter = homeActivityComponent.getHomeAdapter();
recyclerView.setLayoutManager(layoutManager);
recyclerView.setAdapter(homeAdapter);
}
@@ -13,12 +13,6 @@
public interface HomeActivityComponent {

void inject(HomeActivity homeActivity);

// RecyclerView.LayoutManager getLayoutManager();
//
// HomeAdapter getHomeAdapter();
//
// GitHubRepository getGitHubRepository();


}

0 comments on commit e7a35db

Please sign in to comment.