This file contains 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
// Copyright 2009 Google Inc. All Rights Reserved. | |
package com.google.appinventor.components.runtime; | |
import com.google.appinventor.components.annotations.DesignerComponent; | |
import com.google.appinventor.components.annotations.DesignerProperty; | |
import com.google.appinventor.components.annotations.PropertyCategory; | |
import com.google.appinventor.components.annotations.SimpleEvent; | |
import com.google.appinventor.components.annotations.SimpleFunction; | |
import com.google.appinventor.components.annotations.SimpleObject; |
This file contains 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
// Copyright 2009 Google Inc. All Rights Reserved. | |
package com.google.appinventor.components.runtime; | |
import com.google.appinventor.components.annotations.DesignerComponent; | |
import com.google.appinventor.components.annotations.DesignerProperty; | |
import com.google.appinventor.components.annotations.PropertyCategory; | |
import com.google.appinventor.components.annotations.SimpleEvent; | |
import com.google.appinventor.components.annotations.SimpleFunction; | |
import com.google.appinventor.components.annotations.SimpleObject; |
This file contains 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
package com.pandit.application.demoapp.ui | |
import android.os.Bundle | |
import android.os.Handler | |
import android.view.LayoutInflater | |
import android.view.View | |
import android.view.ViewGroup | |
import androidx.core.view.size | |
import androidx.fragment.app.Fragment | |
import com.pandit.application.demoapp.R |
This file contains 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
Q1. | |
what is different stage of life cycle . | |
when does onRestart get called. | |
what happen if we navigate new Activity A to B . | |
Which class method will get called first in order | |
Which method called when showing dialog on Activity. | |
Q2. | |
Difference between Fragment and Activity. | |
Can Fragment exist without Activity. |
This file contains 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
import 'package:flutter/foundation.dart'; | |
import 'package:flutter/material.dart'; | |
import 'dart:math' as Math; | |
const double _radiansPerDegree = Math.pi / 180; | |
final double _startAngle = -90.0 * _radiansPerDegree; | |
typedef double ItemAngleCalculator(int index); | |
class HomePage extends StatefulWidget { |
This file contains 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
import 'package:dev_rpg/src/style.dart'; | |
import 'package:flutter/material.dart'; | |
/// Layout for the dev_rpg game. | |
enum RpgLayout { slim, wide, ultrawide } | |
/// Signature for a function that builds a widget given an [RpgLayout]. | |
/// | |
/// Used by [RpgLayoutBuilder.builder]. | |
typedef RpgLayoutWidgetBuilder = Widget Function( | |
BuildContext context, RpgLayout layout); |
This file contains 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
import 'package:flutter/material.dart'; | |
typedef Widget CLListItemBuilder(BuildContext context, String itemString); | |
class CLCustomItemRow extends StatefulWidget { | |
final CLListItemBuilder clListItemBuilder; | |
final Widget child; | |
final List<String> itemList; | |
CLCustomItemRow({ |
This file contains 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
import 'package:flutter/material.dart'; | |
enum CLThemeConstants { | |
LIGHT_RED, | |
LIGHT_BLUE, | |
LIGHT_GRAY, | |
DARK_ORANGE, | |
DARK_GREEN, | |
DARK_BROWN | |
} |
This file contains 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
package com.example.madhav.milikevault.dash; | |
import android.graphics.Color; | |
import android.graphics.Point; | |
import android.graphics.drawable.ColorDrawable; | |
import android.graphics.drawable.GradientDrawable; | |
import android.os.Build; | |
import android.os.Bundle; | |
import android.os.Handler; | |
import android.support.annotation.Nullable; |
This file contains 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 StyleEditLayout extends LinearLayout implements RadioGroup.OnCheckedChangeListener | |
{ | |
Context context; | |
public StyleEditLayout(Context context) | |
{ | |
super(context); | |
intit(context); | |
} |
NewerOlder