Commits

Juha Kuitunen committed 0f081ad

fixed issue #23

  • Participants
  • Parent commits 552dda0

Comments (0)

Files changed (1)

File src/com/saibotd/bitbeaker/IssueActivity.java

 
 		ActionBar actionBar = getSupportActionBar();
 		setTitle(slug);
-        actionBar.setSubtitle("Issue: " + title);
-        
-        AsyncLoader asyncLoader = new AsyncLoader();
+		actionBar.setSubtitle("Issue: " + title);
+
+		AsyncLoader asyncLoader = new AsyncLoader();
 		asyncLoader.execute("https://api.bitbucket.org/1.0/repositories/"+ owner +"/"+ slug +"/issues/" + id);
-        
-        loadComments();
 	}
 	
 	private void loadComments(){
 			comments_count.setText("Comments: " + jsonObject.getString("comment_count"));
 			listView.addHeaderView(header);
 			Log.d("TEST", jsonObject.toString());
+			loadComments();
 		} catch (JSONException e) {
 			// TODO Auto-generated catch block
 			e.printStackTrace();