Skip to content

Commit

Permalink
Reformatting code
Browse files Browse the repository at this point in the history
  • Loading branch information
AkshobhyaP committed Jan 29, 2020
1 parent ab866fe commit 4af9d83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class MemoryGraphParent extends AppCompatActivity {

private String filePath;
public static final String MEMORY_GRAPH_FLAG = "Memory";
private static Fragment defaultProgram=MemoryGraphFragment.newInstance();
private static Fragment defaultProgram = MemoryGraphFragment.newInstance();

@Override
protected void onCreate(Bundle savedInstanceState) {
Expand Down Expand Up @@ -50,7 +50,7 @@ protected void onCreate(Bundle savedInstanceState) {
selectedFragment.setArguments(bundle);
FragmentTransaction transaction = getSupportFragmentManager().beginTransaction();
transaction.replace(R.id.frame_layout, selectedFragment);
defaultProgram=selectedFragment;
defaultProgram = selectedFragment;
transaction.commit();
return true;
});
Expand All @@ -70,7 +70,7 @@ public boolean onSupportNavigateUp(){
public void onBackPressed() {
super.onBackPressed();
StatisticsFragment.parsedData = null;
defaultProgram=MemoryGraphFragment.newInstance();
defaultProgram = MemoryGraphFragment.newInstance();
}

public void setActionBarTitle(String title) {
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/layout/fragment_statistics.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
android:layout_height="match_parent">

<include layout="@layout/stat_items" />

</ScrollView>

</android.support.constraint.ConstraintLayout>

0 comments on commit 4af9d83

Please sign in to comment.